removed pkgs from specialArgs

This commit is contained in:
TheWanderingCrow 2025-02-20 21:42:17 -05:00
parent 5c4f895eac
commit 7bbde723da
2 changed files with 17 additions and 19 deletions

View file

@ -25,26 +25,13 @@
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
sops-nix.nixosModules.sops sops-nix.nixosModules.sops
]; ];
mkSpecialArgs = system: {
inherit inputs;
pkgs = import nixpkgs {
inherit system;
config.allowUnfree = true;
config.permittedInsecurePackages = [
"dotnet-runtime-wrapped-7.0.20"
"dotnet-runtime-7.0.20"
"SDL_ttf-2.0.11"
];
};
};
in { in {
nixosConfigurations = { nixosConfigurations = {
################### ###################
# Primary Desktop # # Primary Desktop #
################### ###################
Parzival = nixpkgs.lib.nixosSystem { Parzival = nixpkgs.lib.nixosSystem {
specialArgs = mkSpecialArgs "x86_64-linux"; specialArgs = {inherit inputs;};
modules = modules =
[ [
./hosts/Parzival ./hosts/Parzival
@ -55,7 +42,7 @@
# Personal Laptop # # Personal Laptop #
################### ###################
Parzival-Mobile = nixpkgs.lib.nixosSystem { Parzival-Mobile = nixpkgs.lib.nixosSystem {
specialArgs = mkSpecialArgs "x86_64-linux"; specialArgs = {inherit inputs;};
modules = modules =
[ [
./hosts/Parzival-Mobile ./hosts/Parzival-Mobile
@ -66,7 +53,7 @@
# Work Issued Laptop # # Work Issued Laptop #
###################### ######################
Parzival-Framework = nixpkgs.lib.nixosSystem { Parzival-Framework = nixpkgs.lib.nixosSystem {
specialArgs = mkSpecialArgs "x86_64-linux"; specialArgs = {inherit inputs;};
modules = modules =
[ [
./hosts/Parzival-Framework ./hosts/Parzival-Framework
@ -77,7 +64,7 @@
# Home Server # # Home Server #
############### ###############
WCE-Overseer = nixpkgs.lib.nixosSystem { WCE-Overseer = nixpkgs.lib.nixosSystem {
specialArgs = mkSpecialArgs "x86_64-linux"; specialArgs = {inherit inputs;};
modules = modules =
[ [
./hosts/WCE-Overseer ./hosts/WCE-Overseer
@ -88,7 +75,7 @@
# ISO Installer w/ recovery tools # # ISO Installer w/ recovery tools #
################################### ###################################
Parzival-Live = nixpkgs.lib.nixosSystem { Parzival-Live = nixpkgs.lib.nixosSystem {
specialArgs = mkSpecialArgs "x86_64-linux"; specialArgs = {inherit inputs;};
modules = modules =
[ [
./hosts/Parzival-Live ./hosts/Parzival-Live
@ -99,7 +86,7 @@
# DO Nebula Lighthouse1 # # DO Nebula Lighthouse1 #
######################### #########################
WCE-Lighthouse1 = nixpkgs.lib.nixosSystem { WCE-Lighthouse1 = nixpkgs.lib.nixosSystem {
specialArgs = mkSpecialArgs "x86_64-linux"; specialArgs = {inherit inputs;};
modules = modules =
[ [
./hosts/WCE-Lighthouse ./hosts/WCE-Lighthouse

View file

@ -21,5 +21,16 @@
nerd-fonts.hack nerd-fonts.hack
nerd-fonts.jetbrains-mono nerd-fonts.jetbrains-mono
]; ];
nixpkgs = {
config = {
allowUnfree = true;
config.permittedInsecurePackages = [
"dotnet-runtime-wrapped-7.0.20"
"dotnet-runtime-7.0.20"
"SDL_ttf-2.0.11"
];
};
};
}; };
} }