fix: use first nixosConfiguration instead of hardcoded name
This commit is contained in:
parent
05e34bcfc9
commit
e93f7ce742
1 changed files with 1 additions and 1 deletions
|
@ -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'';
|
||||
|
|
Loading…
Reference in a new issue