fix: use first nixosConfiguration instead of hardcoded name

nixos
Moritz Böhme 2024-11-08 19:41:56 +01:00
parent 05e34bcfc9
commit e93f7ce742
Signed by: moritz
GPG Key ID: 970C6E89EB0547A9
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ in
};
options = {
nixos = {
expr = ''(builtins.getFlake ("git+file://" + toString ./.)).nixosConfigurations.nixos-desktop.options'';
expr = ''builtins.head (builtins.attrValues ((builtins.getFlake ("git+file://" + toString ./.)).nixosConfigurations).options'';
};
"flake-parts" = {
expr = ''(builtins.getFlake ("git+file://" + toString ./.)).debug.options'';