Merge pull request 'flake.nix: simplify allMachines' (!59) from attrnames into main

Reviewed-on: #59
Reviewed-by: Daniel Lovbrotte Olsen <danio@pvv.ntnu.no>
This commit is contained in:
Peder Bergebakken Sundt 2024-08-04 23:44:54 +02:00
commit f6cb934ffb

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"