more progress on custom options config

This commit is contained in:
greyweather committed 2026-08-27 19:28:28 +01:00
1 parent f770b83b5c
commit 765f346eb6
26 files changed
+900 -561

No files matched your search

+11 -5
View File
@@ -1,10 +1,16 @@
{ inputs, self, ... }: {
flake.homeModules.kitty = { pkgs, ... }: {
programs.kitty = {
enable = true;
flake.nixosModules.graphics = { pkgs, config, lib, ... }: {
options.features.applications.gui.kitty.enable = lib.mkEnableOption "kitty";
};
shellIntegration.enableBashIntegration = true;
enableGitIntegration = true;
flake.homeModules.graphics = { pkgs, osConfig, lib, ... }: {
config = lib.mkIf (osConfig.features.applications.gui.kitty.enable) {
programs.kitty = {
enable = true;
shellIntegration.enableBashIntegration = true;
enableGitIntegration = true;
};
};
};
}