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:
parent
910292fe34
commit
a48fecda09
2 changed files with 19 additions and 1 deletions
|
|
@ -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 = "";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue