mirror of
https://github.com/genebean/dots.git
synced 2026-03-27 01:17:42 -04:00
Move common nixpkgs settings to a module
This commit is contained in:
parent
6318b773df
commit
9715c97ac6
2 changed files with 10 additions and 10 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
9
lib/nixpkgs-settings.nix
Normal file
9
lib/nixpkgs-settings.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{ inputs, ... }: {
|
||||
nixpkgs = {
|
||||
config = {
|
||||
allowUnfree = true;
|
||||
permittedInsecurePackages = [ "olm-3.2.16" "electron-27.3.11" ];
|
||||
};
|
||||
overlays = [ inputs.nixpkgs-terraform.overlays.default ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue