diff options
author | Silas Schöffel <sils@sils.li> | 2024-04-10 19:47:46 +0200 |
---|---|---|
committer | Silas Schöffel <sils@sils.li> | 2024-04-10 19:47:46 +0200 |
commit | 2b2303d06f2ec73a019b9b716b50713ed53d9965 (patch) | |
tree | ea2187bdeae0307a9036aa8e7c5349bc7c8452df | |
parent | firefox: add user-js (diff) | |
download | nix-config-2b2303d06f2ec73a019b9b716b50713ed53d9965.tar.gz nix-config-2b2303d06f2ec73a019b9b716b50713ed53d9965.zip |
modules/hm: change move sils.home scope into sils
-rw-r--r-- | hm/default.nix | 2 | ||||
-rw-r--r-- | modules/hm/sils/firefox/default.nix | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/hm/default.nix b/hm/default.nix index 12d4626..58d14ae 100644 --- a/hm/default.nix +++ b/hm/default.nix @@ -37,7 +37,7 @@ stateVersion = "23.05"; }; - sils.home = { + sils = { firefox.enable = true; }; programs.home-manager.enable = true; diff --git a/modules/hm/sils/firefox/default.nix b/modules/hm/sils/firefox/default.nix index 26939e1..e3032ae 100644 --- a/modules/hm/sils/firefox/default.nix +++ b/modules/hm/sils/firefox/default.nix @@ -5,7 +5,7 @@ arkenfox-user-js, ... }: let - cfg = config.sils.home.firefox; + cfg = config.sils.firefox; user-overrides-js = pkgs.writeText "user_override.js" (builtins.readFile ./user-overrides.js); user-js = pkgs.runCommand "user.js" {} '' mkdir $out; @@ -13,7 +13,7 @@ cat "${user-overrides-js}" >> $out/user.js; ''; in { - options.sils.home.firefox = { + options.sils.firefox = { enable = lib.mkEnableOption "opinionated firefox configuration"; }; config = lib.mkIf cfg.enable { |