diff --git a/flake.nix b/flake.nix index 478e699..5e3487f 100644 --- a/flake.nix +++ b/flake.nix @@ -58,7 +58,10 @@ pkgs-stable = import nixpkgs-stable { inherit system config; }; pkgs-pinned = import nixpkgs-pinned { inherit system config; }; }; - modules = [ ./host/${hostname}/configuration.nix ]; + modules = [ + ./host/${hostname}/configuration.nix + { nixpkgs.config = config; } + ]; }; in { nixosConfigurations = { diff --git a/host/modules/packages.nix b/host/modules/packages.nix index 5dfd68a..c1deb60 100644 --- a/host/modules/packages.nix +++ b/host/modules/packages.nix @@ -1,5 +1,4 @@ { pkgs, inputs, ... }: { - nixpkgs.config.allowUnfree = true; environment.systemPackages = with pkgs; [ file