fix: use first nixosConfiguration instead of hardcoded name
parent
05e34bcfc9
commit
e93f7ce742
|
@ -18,7 +18,7 @@ in
|
||||||
};
|
};
|
||||||
options = {
|
options = {
|
||||||
nixos = {
|
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" = {
|
"flake-parts" = {
|
||||||
expr = ''(builtins.getFlake ("git+file://" + toString ./.)).debug.options'';
|
expr = ''(builtins.getFlake ("git+file://" + toString ./.)).debug.options'';
|
||||||
|
|
Loading…
Reference in New Issue