Skip to content

Commit

Permalink
docs(nixos): better configFile default text
Browse files Browse the repository at this point in the history
  • Loading branch information
tomeon committed Sep 17, 2023
1 parent 183cffe commit 55b193a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/nixos-modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ path *(read only)*


*Default:*
` <derivation update-systemd-resolved--name-.conf> `
` "/nix/store/<hash>-update-systemd-resolved-<name>.conf" `

*Declared by:*
- [nix/nixos-modules\.nix](/nix/nixos-modules.nix)
Expand Down
1 change: 1 addition & 0 deletions nix/nixos-modules.nix
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@
type = types.path;
readOnly = true;
default = pkgs.writeText "update-systemd-resolved-${name}.conf" config.config;
defaultText = "${toString builtins.storeDir}/<hash>-update-systemd-resolved-<name>.conf";
description = ''
A configuration file containing
{option}`programs.update-systemd-resolved.servers.<name>.config`
Expand Down

0 comments on commit 55b193a

Please sign in to comment.