diff --git a/home/firefox/firefox.nix b/home/firefox/firefox.nix index d5ecd53..723ecc8 100644 --- a/home/firefox/firefox.nix +++ b/home/firefox/firefox.nix @@ -46,6 +46,7 @@ in https-everywhere i-dont-care-about-cookies reddit-enhancement-suite + sponsorblock ublock-origin ] ++ lib.optional (cfg.tridactyl.enable) tridactyl diff --git a/home/secrets/default.nix b/home/secrets/default.nix index ac0e5b5..76ec2cf 100644 --- a/home/secrets/default.nix +++ b/home/secrets/default.nix @@ -14,7 +14,15 @@ let in throwOnCanary { options.my.secrets = mkOption { - type = types.attrs; + type = + let + valueType = with types; oneOf [ + int + str + (attrsOf valueType) + ]; + in + valueType; }; config.my.secrets = { diff --git a/secrets/default.nix b/secrets/default.nix index 754483d..4a4aa68 100644 --- a/secrets/default.nix +++ b/secrets/default.nix @@ -14,7 +14,15 @@ let in throwOnCanary { options.my.secrets = mkOption { - type = types.attrs; + type = + let + valueType = with types; oneOf [ + int + str + (attrsOf valueType) + ]; + in + valueType; }; config.my.secrets = {