diff options
author | Silas Schöffel <sils@sils.li> | 2024-04-07 19:21:26 +0200 |
---|---|---|
committer | Silas Schöffel <sils@sils.li> | 2024-04-07 19:21:26 +0200 |
commit | bdff3dfb86c01b8538c33d0934ecfaca0111de7b (patch) | |
tree | 5f740c88a8457e9eeaefe1c29fe017316f2ee36d /modules | |
parent | treewide: enable pre-commit hooks (diff) | |
download | nix-config-bdff3dfb86c01b8538c33d0934ecfaca0111de7b.tar.gz nix-config-bdff3dfb86c01b8538c33d0934ecfaca0111de7b.zip |
firefox: init module
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; + }; + }; +} |