1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-08 19:46:05 +01:00

files: add home.file.<name>.ignorelinks

This commit is contained in:
jaredmontoya 2025-05-08 16:54:38 +02:00 committed by Austin Horstman
parent 910292fe34
commit a48fecda09
2 changed files with 19 additions and 1 deletions

View file

@ -102,6 +102,18 @@ in
'';
};
ignorelinks = mkOption {
type = types.bool;
default = false;
description = ''
When `recursive` is enabled, adds `-ignorelinks` flag to lndir
It causes lndir to not treat symbolic links in the source directory specially.
The link created in the target directory will point back to the corresponding
(symbolic link) file in the source directory. If the link is to a directory
'';
};
onChange = mkOption {
type = types.lines;
default = "";