mirror of
https://github.com/oddlama/nix-config.git
synced 2025-10-11 07:10:39 +02:00
chore: variable name refactor
This commit is contained in:
parent
c026014d0b
commit
19aa57cc67
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
{nixpkgs, ...}:
|
{nixpkgs, ...}:
|
||||||
nixpkgs.lib.concatMapAttrs (hostName: fileType:
|
nixpkgs.lib.concatMapAttrs (nodeName: fileType:
|
||||||
if fileType == "directory"
|
if fileType == "directory"
|
||||||
then {${hostName} = import (../hosts + "/${hostName}/meta.nix");}
|
then {${nodeName} = import (../hosts + "/${nodeName}/meta.nix");}
|
||||||
else {}) (builtins.readDir ../hosts)
|
else {}) (builtins.readDir ../hosts)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue