Skip to content

Commit

Permalink
Make target just be loc
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasjm committed Sep 25, 2024
1 parent 2e1db4d commit 73a8a0c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions modules/base/nixos-options-to-settings-schema.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ let
loc = lib.drop componentsToDrop v.loc;
in
{
target = v.name;
inherit loc;
target = loc;
}
// convertType v.name (lib.attrByPath loc defaultItem options).type
// lib.optionalAttrs (lib.hasAttr "default" v) { defaultValue = convertDefaultValue v.default; }
Expand Down

0 comments on commit 73a8a0c

Please sign in to comment.