mirror of
https://github.com/youwen5/nixos.git
synced 2024-11-24 17:53:51 -08:00
refactor: remove some hardcoded configuration in favor of overrides
This commit is contained in:
parent
cc8eb445a4
commit
1056a696d3
1 changed files with 2 additions and 31 deletions
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue