rename module core -> host
This commit is contained in:
parent
52c04697f3
commit
3fd30e1506
1 changed files with 6 additions and 6 deletions
|
|
@ -72,13 +72,13 @@
|
|||
lib.nixosSystem {
|
||||
system = node.system;
|
||||
modules = let
|
||||
core' = nexus.root + "/hosts/${nodeName}";
|
||||
core =
|
||||
if pathExists core'
|
||||
then core'
|
||||
else core' + ".nix";
|
||||
host' = nexus.root + "/hosts/${nodeName}";
|
||||
host =
|
||||
if pathExists host'
|
||||
then host'
|
||||
else host' + ".nix";
|
||||
in
|
||||
[core ../nixos-module] ++ node.extraModules;
|
||||
[../nixos-module host] ++ node.extraModules;
|
||||
|
||||
# nix passes these to every single module
|
||||
specialArgs =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue