nixos/modules/desktop/kitty/default.nix
2023-07-08 22:27:08 +03:00

31 lines
565 B
Nix

{ options, config, lib, pkgs, ...}:
with lib;
let
cfg = config.modules.desktop.kitty;
in
{
options.modules.desktop.kitty = {
enable = mkEnableOption false;
};
config = mkIf cfg.enable {
users.users.sako.packages = with pkgs; [
kitty
];
home-manager.users.sako = { pkgs , ...}: {
xdg.configFile = {
kitty = {
source = ../../../config/kitty;
};
};
};
# also just in case
fonts.fonts = with pkgs;[
jetbrains-mono
(nerdfonts.override { fonts = [ "JetBrainsMono" ]; })
];
};
}