diff options
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -182,7 +182,11 @@ | |||
182 | 182 | ||
183 | hydraJobs = | 183 | hydraJobs = |
184 | let | 184 | let |
185 | inherit (nixpkgs.legacyPackages.x86_64-linux) nixosTest; | 185 | # Use the nixpkgs configuration of the testDefault machine, so that it |
186 | # contains the list of allowed unfree packages | ||
187 | nixpkgsConfig = self.nixosConfigurations.testDefault.config.nixpkgs.config; | ||
188 | pkgs = import nixpkgs { system = "x86_64-linux"; config = nixpkgsConfig; }; | ||
189 | inherit (pkgs) nixosTest; | ||
186 | in | 190 | in |
187 | { | 191 | { |
188 | 192 | ||