forked from colonelpanic/dotfiles
[NixOS] Changes from nixquick
This commit is contained in:
2
nixos/bootstrap/flake.lock
generated
2
nixos/bootstrap/flake.lock
generated
@@ -148,7 +148,7 @@
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1,
|
||||
"narHash": "sha256-jXsF8mdwodVLK6tM9iA7Ce4jxpkhnkjeAsvirfHHWlc=",
|
||||
"narHash": "sha256-FDbBPRbfABuZ92x5azeEOIayP1AVnmF1KhFEi/rTTLo=",
|
||||
"path": "../../dotfiles/config/taffybar",
|
||||
"type": "path"
|
||||
},
|
||||
|
@@ -123,12 +123,13 @@
|
||||
modules = baseModules ++ modules;
|
||||
specialArgs = { inherit inputs; } // specialArgs;
|
||||
});
|
||||
machineFilenames = builtins.attrNames (builtins.readDir ../machines);
|
||||
machinesPath = ../machines;
|
||||
machineFilenames = builtins.attrNames (builtins.readDir machinesPath);
|
||||
machineNameFromFilename = filename: builtins.head (builtins.split "\\." filename);
|
||||
mkConfigurationParams = filename: {
|
||||
name = machineNameFromFilename filename;
|
||||
value = {
|
||||
modules = [ (./machines + ("/" + filename)) ];
|
||||
modules = [ (machinesPath + ("/" + filename)) ];
|
||||
};
|
||||
};
|
||||
defaultConfigurationParams =
|
||||
|
Reference in New Issue
Block a user