Compare commits

...

4 commits

4 changed files with 16 additions and 38 deletions

View file

@ -1,6 +1,6 @@
{ inputs, config, pkgs, ... }: { { inputs, config, pkgs, ... }: {
# Expose the package set, including overlays, for convenience. # 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: # List packages installed in system profile. To search by name, run:
# $ nix-env -qaP | grep wget # $ nix-env -qaP | grep wget

View file

@ -4,14 +4,21 @@
enableScriptingAddition = true; enableScriptingAddition = true;
config = { config = {
focus_follows_mouse = "autoraise"; focus_follows_mouse = "autoraise";
mouse_follows_focus = "off"; mouse_follows_focus = "on";
window_placement = "second_child"; window_placement = "second_child";
window_opacity = "off"; window_opacity = "off";
top_padding = 36; top_padding = 12;
bottom_padding = 10; bottom_padding = 12;
left_padding = 10; left_padding = 12;
right_padding = 10; right_padding = 12;
window_gap = 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; }; services.skhd = { enable = true; };

View file

@ -65,7 +65,7 @@
useTheme = "gruvbox"; useTheme = "gruvbox";
}; };
programs.fish = pkgs.lib.mkDefault { programs.fish = {
enable = true; enable = true;
shellAliases = { shellAliases = {
rebuild = "sudo nixos-rebuild switch"; rebuild = "sudo nixos-rebuild switch";

View file

@ -46,39 +46,10 @@
rust-analyzer rust-analyzer
]; ];
programs.git = { programs.git.extraConfig.commit.gpgsign = "false";
enable = true;
userName = "Youwen Wu";
userEmail = "youwenw@gmail.com";
delta.enable = true;
extraConfig = {
init.defaultBranch = "main";
commit.gpgsign = "false";
user.signingkey = "8F5E6C1AF90976CA7102917A865658ED1FE61EC3";
};
};
programs.kitty = { programs.oh-my-posh.enableZshIntegration = true;
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.bash.enable = true;
programs.zsh.enable = true; programs.zsh.enable = true;