Add system config Split up modules into home and system sets Update Cleanup Move home config Add module attrs Fix empty LUKS device UUID Import local secrets
19 lines
404 B
Nix
19 lines
404 B
Nix
{ pkgs, lib, config, ... }:
|
|
with lib;
|
|
let
|
|
cfg = config.dadada.home.kitty;
|
|
in {
|
|
options.dadada.home.kitty = {
|
|
enable = mkEnableOption "Enable kitty config";
|
|
};
|
|
config = mkIf cfg.enable {
|
|
programs.kitty = {
|
|
enable = true;
|
|
font = {
|
|
package = pkgs.source-code-pro;
|
|
name = "Source Code Pro 8";
|
|
};
|
|
extraConfig = builtins.readFile ./config;
|
|
};
|
|
};
|
|
}
|