diff --git a/hosts/ni/config/nixpkgs/config.nix b/hosts/ni/config/nixpkgs/config.nix new file mode 100644 index 00000000..4913dd09 --- /dev/null +++ b/hosts/ni/config/nixpkgs/config.nix @@ -0,0 +1,10 @@ +{ + allowUnfree = true; + + # These are wrapper options for Firefox. + firefox = { + enableBrowserpass = true; + enableTridactylNative = true; + enableFxCastBridge = true; + }; +} diff --git a/hosts/ni/default.nix b/hosts/ni/default.nix index 00a9c083..823c9440 100644 --- a/hosts/ni/default.nix +++ b/hosts/ni/default.nix @@ -131,11 +131,7 @@ programs.adb.enable = true; # Basically, the most basic nixpkgs configuration. - environment.etc."nix/nixpkgs-config.nix".text = '' - { - allowUnfree = true; - } - ''; + environment.variables.NIXPKGS_CONFIG = lib.mkForce ./config/nixpkgs/config.nix; environment.systemPackages = with pkgs; [ # Some sysadmin thingamajigs.