nixos/modules/desktop/kitty/default.nix

32 lines
565 B
Nix
Raw Normal View History

2023-07-08 18:39:19 +04:00
{ 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;
};
};
};
2023-07-08 23:27:08 +04:00
# also just in case
fonts.fonts = with pkgs;[
jetbrains-mono
(nerdfonts.override { fonts = [ "JetBrainsMono" ]; })
];
2023-07-08 18:39:19 +04:00
};
}