mirror of
https://github.com/youwen5/nixos.git
synced 2024-11-24 17:53:51 -08:00
Compare commits
No commits in common. "1056a696d370807f52b9a3abe2a8cc4d636ac07e" and "3a917eb837d600efa3e2e64ab8f2dd18d5fc3e41" have entirely different histories.
1056a696d3
...
3a917eb837
4 changed files with 38 additions and 16 deletions
|
@ -1,6 +1,6 @@
|
|||
{ inputs, config, pkgs, ... }: {
|
||||
# Expose the package set, including overlays, for convenience.
|
||||
# darwinPackages = inputs.self.darwinConfigurations."Youwens-MacBook-Pro".pkgs;
|
||||
darwinPackages = inputs.self.darwinConfigurations."Youwens-MacBook-Pro".pkgs;
|
||||
|
||||
# List packages installed in system profile. To search by name, run:
|
||||
# $ nix-env -qaP | grep wget
|
||||
|
|
|
@ -4,21 +4,14 @@
|
|||
enableScriptingAddition = true;
|
||||
config = {
|
||||
focus_follows_mouse = "autoraise";
|
||||
mouse_follows_focus = "on";
|
||||
mouse_follows_focus = "off";
|
||||
window_placement = "second_child";
|
||||
window_opacity = "off";
|
||||
top_padding = 12;
|
||||
bottom_padding = 12;
|
||||
left_padding = 12;
|
||||
right_padding = 12;
|
||||
top_padding = 36;
|
||||
bottom_padding = 10;
|
||||
left_padding = 10;
|
||||
right_padding = 10;
|
||||
window_gap = 10;
|
||||
split_ratio = 0.50;
|
||||
split_type = "auto";
|
||||
layout = "bsp";
|
||||
mouse_modifier = "fn";
|
||||
mouse_action1 = "move";
|
||||
mouse_action2 = "resize";
|
||||
mouse_drop_action = "swap";
|
||||
};
|
||||
};
|
||||
services.skhd = { enable = true; };
|
||||
|
|
|
@ -65,7 +65,7 @@
|
|||
useTheme = "gruvbox";
|
||||
};
|
||||
|
||||
programs.fish = {
|
||||
programs.fish = pkgs.lib.mkDefault {
|
||||
enable = true;
|
||||
shellAliases = {
|
||||
rebuild = "sudo nixos-rebuild switch";
|
||||
|
|
|
@ -46,10 +46,39 @@
|
|||
rust-analyzer
|
||||
];
|
||||
|
||||
programs.git.extraConfig.commit.gpgsign = "false";
|
||||
programs.git = {
|
||||
enable = true;
|
||||
userName = "Youwen Wu";
|
||||
userEmail = "youwenw@gmail.com";
|
||||
delta.enable = true;
|
||||
extraConfig = {
|
||||
init.defaultBranch = "main";
|
||||
commit.gpgsign = "false";
|
||||
user.signingkey = "8F5E6C1AF90976CA7102917A865658ED1FE61EC3";
|
||||
};
|
||||
};
|
||||
|
||||
programs.oh-my-posh.enableZshIntegration = true;
|
||||
programs.kitty = {
|
||||
enable = true;
|
||||
theme = "Tokyo Night";
|
||||
font.name = "CaskaydiaCove Nerd Font";
|
||||
settings = {
|
||||
font_size = 12;
|
||||
window_padding_width = "8 8 0";
|
||||
confirm_os_window_close = -1;
|
||||
shell_integration = "enabled";
|
||||
enable_audio_bell = "no";
|
||||
background_opacity = "0.8";
|
||||
};
|
||||
};
|
||||
|
||||
programs.oh-my-posh = {
|
||||
enable = true;
|
||||
enableZshIntegration = true;
|
||||
enableFishIntegration = true;
|
||||
enableBashIntegration = true;
|
||||
useTheme = "gruvbox";
|
||||
};
|
||||
programs.bash.enable = true;
|
||||
programs.zsh.enable = true;
|
||||
|
||||
|
|
Loading…
Reference in a new issue