1
0
mirror of https://git.pvv.ntnu.no/Drift/pvv-nixos-config.git synced 2025-04-06 06:01:21 +02:00

flake.nix: simplify allMachines

This commit is contained in:
Peder Bergebakken Sundt 2024-08-04 17:11:21 +02:00
parent 41e94695f0
commit 2c3261de74

View File

@ -38,7 +38,7 @@
"aarch64-darwin"
];
forAllSystems = f: nixlib.genAttrs systems f;
allMachines = nixlib.mapAttrsToList (name: _: name) self.nixosConfigurations;
allMachines = builtins.attrNames self.nixosConfigurations;
importantMachines = [
"bekkalokk"
"bicep"