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