From bdff3dfb86c01b8538c33d0934ecfaca0111de7b Mon Sep 17 00:00:00 2001 From: Silas Schöffel Date: Sun, 7 Apr 2024 19:21:26 +0200 Subject: firefox: init module --- modules/hm/sils/default.nix | 1 + modules/hm/sils/firefox.nix | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 modules/hm/sils/firefox.nix (limited to 'modules') 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; + }; + }; +} -- cgit 1.4.1