hosts/default.nix: do not inherit system
This commit is contained in:
parent
20f7668d69
commit
ad0a1282ea
1 changed files with 3 additions and 3 deletions
|
@ -19,7 +19,6 @@ inputs: let
|
||||||
specialArgs =
|
specialArgs =
|
||||||
recursiveUpdate
|
recursiveUpdate
|
||||||
{
|
{
|
||||||
inherit system;
|
|
||||||
inherit lib;
|
inherit lib;
|
||||||
inherit inputs;
|
inherit inputs;
|
||||||
inherit self;
|
inherit self;
|
||||||
|
@ -32,8 +31,9 @@ inputs: let
|
||||||
self.nixosModules.user
|
self.nixosModules.user
|
||||||
]
|
]
|
||||||
(singleton {
|
(singleton {
|
||||||
networking.hostName = args.hostname;
|
networking.hostName = hostname;
|
||||||
nixpkgs.hostPlatform = mkDefault args.system;
|
#thanks raf
|
||||||
|
nixpkgs.hostPlatform = system;
|
||||||
})
|
})
|
||||||
(flatten (
|
(flatten (
|
||||||
concatLists [
|
concatLists [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue