summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorSilas Schöffel <sils@sils.li>2024-04-10 19:47:46 +0200
committerSilas Schöffel <sils@sils.li>2024-04-10 19:47:46 +0200
commit2b2303d06f2ec73a019b9b716b50713ed53d9965 (patch)
treeea2187bdeae0307a9036aa8e7c5349bc7c8452df
parentfirefox: add user-js (diff)
downloadnix-config-2b2303d06f2ec73a019b9b716b50713ed53d9965.tar.gz
nix-config-2b2303d06f2ec73a019b9b716b50713ed53d9965.zip
modules/hm: change move sils.home scope into sils
-rw-r--r--hm/default.nix2
-rw-r--r--modules/hm/sils/firefox/default.nix4
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 {