diff options
Diffstat (limited to '')
-rw-r--r-- | modules/hm/sils/default.nix | 1 | ||||
-rw-r--r-- | modules/hm/sils/firefox.nix | 16 |
2 files changed, 17 insertions, 0 deletions
diff --git a/modules/hm/sils/default.nix b/modules/hm/sils/default.nix index 65740a9..e4b133a 100644 --- a/modules/hm/sils/default.nix +++ b/modules/hm/sils/default.nix @@ -1,4 +1,5 @@ {...}: { imports = [ + ./firefox.nix ]; } diff --git a/modules/hm/sils/firefox.nix b/modules/hm/sils/firefox.nix new file mode 100644 index 0000000..790b341 --- /dev/null +++ b/modules/hm/sils/firefox.nix @@ -0,0 +1,16 @@ +{ + config, + lib, + ... +}: let + cfg = config.sils.home.firefox; +in { + options.sils.home.firefox = { + enable = lib.mkEnableOption "opinionated firefox configuration"; + }; + config = lib.mkIf cfg.enable { + programs.firefox = { + enable = true; + }; + }; +} |