Move common nixpkgs settings to a module

This commit is contained in:
Gene Liverman 2024-12-04 21:43:26 -05:00
parent 6318b773df
commit 9715c97ac6
2 changed files with 10 additions and 10 deletions

View file

@ -9,16 +9,7 @@
inherit system;
specialArgs = { inherit inputs hostname username; } // additionalSpecialArgs;
modules = [
# move this to a common file later
({
nixpkgs = {
config = {
allowUnfree = true;
permittedInsecurePackages = [ "olm-3.2.16" "electron-27.3.11" ];
};
overlays = [ inputs.nixpkgs-terraform.overlays.default ];
};
})
./nixpkgs-settings.nix
inputs.disko.nixosModules.disko