21 lines
737 B
Nix
21 lines
737 B
Nix
{ inputs, self, ... }: let
|
|
optionName = "features.applications.gui.kitty.enable";
|
|
in {
|
|
imports = [ (inputs.helpers.mkStandardFeature.flakeModule "graphics" optionName "Kitty Terminal") ];
|
|
|
|
flake.nixosModules.graphics = { pkgs, config, lib, ... }: {
|
|
imports = [ (inputs.helpers.mkStandardFeature.nixosModule { inherit config optionName; } {
|
|
environment.systemPackages = [ pkgs.kitty ];
|
|
}) ];
|
|
};
|
|
|
|
flake.homeModules.graphics = { pkgs, config, lib, ... }: {
|
|
imports = [ (inputs.helpers.mkStandardFeature.homeModule { inherit config optionName; } {
|
|
programs.kitty = {
|
|
enable = true;
|
|
shellIntegration.enableBashIntegration = true;
|
|
enableGitIntegration = true;
|
|
};
|
|
}) ];
|
|
};
|
|
} |