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"