nixos/modules/desktop/kitty/default.nix

17 lines
482 B
Nix
Raw Normal View History

2024-12-21 00:08:34 +04:00
{ options, config, lib, pkgs, ... }:
let cfg = config.modules.desktop.kitty;
2024-01-29 11:51:19 +04:00
in {
2024-12-21 00:08:34 +04:00
options.modules.desktop.kitty = { enable = lib.mkEnableOption false; };
2023-07-08 18:39:19 +04:00
2024-08-01 16:24:09 +04:00
config = lib.mkIf cfg.enable {
2024-12-21 00:08:34 +04:00
users.users.sako.packages = with pkgs; [ kitty ];
2023-07-08 18:39:19 +04:00
2024-12-21 00:08:34 +04:00
home-manager.users.sako = { pkgs, ... }: {
xdg.configFile = { kitty = { source = ../../../config/kitty; }; };
2023-07-08 18:39:19 +04:00
};
2023-07-08 23:27:08 +04:00
# also just in case
2024-12-21 00:08:34 +04:00
fonts.packages = with pkgs; [ jetbrains-mono nerd-fonts.jetbrains-mono ];
2023-07-08 18:39:19 +04:00
};
}