mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 14:01:34 +01:00
Move kitty into it's own module
This commit is contained in:
parent
bb1a8c5b44
commit
4c0396f7d2
3 changed files with 24 additions and 12 deletions
|
|
@ -7,5 +7,6 @@
|
||||||
./ssh-client.nix
|
./ssh-client.nix
|
||||||
./git.nix
|
./git.nix
|
||||||
./neovim.nix
|
./neovim.nix
|
||||||
|
./kitty.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
22
modules/home/kitty.nix
Normal file
22
modules/home/kitty.nix
Normal file
|
|
@ -0,0 +1,22 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
options.myConfig.kitty.enable = lib.mkEnableOption "";
|
||||||
|
|
||||||
|
config = lib.mkIf config.myConfig.kitty.enable {
|
||||||
|
programs.kitty = {
|
||||||
|
enable = true;
|
||||||
|
|
||||||
|
settings = {
|
||||||
|
font_family = "JetBrainsMono Nerd Font";
|
||||||
|
confirm_os_window_close = 0;
|
||||||
|
background_opacity = "0.7";
|
||||||
|
scrollback_lines = 10000;
|
||||||
|
enable_audio_bell = false;
|
||||||
|
update_check_interval = 0;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -13,18 +13,7 @@
|
||||||
ssh-client.enable = true;
|
ssh-client.enable = true;
|
||||||
git.enable = true;
|
git.enable = true;
|
||||||
neovim.enable = true;
|
neovim.enable = true;
|
||||||
};
|
kitty.enable = true;
|
||||||
|
|
||||||
programs.kitty = {
|
|
||||||
enable = true;
|
|
||||||
settings = {
|
|
||||||
font_family = "JetBrainsMono Nerd Font";
|
|
||||||
confirm_os_window_close = 0;
|
|
||||||
background_opacity = "0.7";
|
|
||||||
scrollback_lines = 10000;
|
|
||||||
enable_audio_bell = false;
|
|
||||||
update_check_interval = 0;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
services.clipmenu = {
|
services.clipmenu = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue