nixos-home-flake/modules/kitty/default.nix

16 lines
320 B
Nix

{ pkgs, lib, config, ... }:
with lib;
let cfg = config.modules.kitty;
in {
options.modules.kitty = { enable = mkEnableOption "kitty"; };
config = mkIf cfg.enable {
home.packages = with pkgs; [
kitty
];
home.file.".config/kitty/kitty.conf".source = ./kitty.conf;
};
}