mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 18:41:34 +01:00
Move modules in programs/services subfolders
This commit is contained in:
parent
2ff87c8404
commit
211ca98e92
38 changed files with 0 additions and 0 deletions
36
modules/home/programs/kitty.nix
Normal file
36
modules/home/programs/kitty.nix
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
{
|
||||
options.custom.programs.kitty.enable = lib.mkEnableOption "";
|
||||
|
||||
config = lib.mkIf config.custom.programs.kitty.enable {
|
||||
programs.kitty = {
|
||||
enable = true;
|
||||
|
||||
settings =
|
||||
let
|
||||
theme-name =
|
||||
{
|
||||
dark = "default";
|
||||
light = "GitHub_Light";
|
||||
}
|
||||
.${config.custom.theme};
|
||||
in
|
||||
{
|
||||
include = "${pkgs.kitty-themes}/share/kitty-themes/themes/${theme-name}.conf";
|
||||
font_family = "JetBrainsMono Nerd Font";
|
||||
background_opacity = "0.85";
|
||||
cursor_shape = "beam";
|
||||
confirm_os_window_close = 0;
|
||||
enable_audio_bell = "no";
|
||||
update_check_interval = 0;
|
||||
};
|
||||
};
|
||||
|
||||
home.shellAliases.ssh = "kitten ssh";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue