diff --git a/system/modules/programs/bandwhich/default.nix b/system/modules/programs/bandwhich/default.nix new file mode 100644 index 0000000..360a183 --- /dev/null +++ b/system/modules/programs/bandwhich/default.nix @@ -0,0 +1,14 @@ +{ lib, config, ... }: + +let + inherit (lib) mkIf mkEnableOption; + cfg = config.systemModules.programs.bandwhich; +in + +{ + options.systemModules.programs.bandwhich.enable = mkEnableOption "Enable bandwhich system module"; + + config = mkIf cfg.enable { + programs.bandwhich.enable = true; + }; +} diff --git a/system/modules/programs/dconf/default.nix b/system/modules/programs/dconf/default.nix new file mode 100644 index 0000000..483394c --- /dev/null +++ b/system/modules/programs/dconf/default.nix @@ -0,0 +1,14 @@ +{ lib, config, ... }: + +let + inherit (lib) mkIf mkEnableOption; + cfg = config.systemModules.programs.dconf; +in + +{ + options.systemModules.programs.dconf.enable = mkEnableOption "Enable dconf system module"; + + config = mkIf cfg.enable { + programs.dconf.enable = true; + }; +} diff --git a/system/modules/programs/default.nix b/system/modules/programs/default.nix index 1f85e28..db3f9a7 100644 --- a/system/modules/programs/default.nix +++ b/system/modules/programs/default.nix @@ -3,6 +3,7 @@ { imports = [ ./gnomeServices.nix + ./dconf ]; options.systemModules.programs = { diff --git a/system/modules/programs/seahorse/default.nix b/system/modules/programs/seahorse/default.nix new file mode 100644 index 0000000..6d58255 --- /dev/null +++ b/system/modules/programs/seahorse/default.nix @@ -0,0 +1,14 @@ +{ lib, config, ... }: + +let + inherit (lib) mkIf mkEnableOption; + cfg = config.systemModules.programs.seahorse; +in + +{ + options.systemModules.programs.seahorse.enable = mkEnableOption "Enable seahorse system module"; + + config = mkIf cfg.enable { + programs.seahorse.enable = true; + }; +} diff --git a/system/modules/programs/wireshark/default.nix b/system/modules/programs/wireshark/default.nix new file mode 100644 index 0000000..0af3109 --- /dev/null +++ b/system/modules/programs/wireshark/default.nix @@ -0,0 +1,14 @@ +{ lib, config, ... }: + +let + inherit (lib) mkIf mkEnableOption; + cfg = config.systemModules.programs.wireshark; +in + +{ + options.systemModules.programs.wireshark.enable = mkEnableOption "Enable wireshark system module"; + + config = mkIf cfg.enable { + programs.wireshark.enable = true; + }; +}