mirror of
https://github.com/nmasur/dotfiles
synced 2025-03-14 21:37:04 +00:00
fix hosts for x86_64-linux
This commit is contained in:
parent
75d4dbe868
commit
fbb00d9504
@ -37,7 +37,8 @@ in
|
|||||||
(builtins.filter (name: lib.hasSuffix "default.nix" name))
|
(builtins.filter (name: lib.hasSuffix "default.nix" name))
|
||||||
# Import each host function
|
# Import each host function
|
||||||
(map (file: {
|
(map (file: {
|
||||||
name = lib.removeSuffix ".nix" (builtins.baseNameOf file);
|
# name = lib.removeSuffix ".nix" (builtins.baseNameOf file);
|
||||||
|
name = builtins.baseNameOf (builtins.dirOf file);
|
||||||
value = import file;
|
value = import file;
|
||||||
}))
|
}))
|
||||||
# Convert to an attrset of hostname -> host function
|
# Convert to an attrset of hostname -> host function
|
||||||
|
Loading…
x
Reference in New Issue
Block a user