
Using this function it is possible to make `home.file` create a symlink to a path outside the Nix store. For example, a Home Manager configuration containing home.file."foo".source = config.lib.file.mkOutOfStoreSymlink ./bar; would upon activation create a symlink `~/foo` that points to the absolute path of the `bar` file relative the configuration file. PR #1211
8 lines
229 B
Nix
8 lines
229 B
Nix
{
|
|
files-executable = ./executable.nix;
|
|
files-hidden-source = ./hidden-source.nix;
|
|
files-out-of-store-symlink = ./out-of-store-symlink.nix;
|
|
files-source-with-spaces = ./source-with-spaces.nix;
|
|
files-text = ./text.nix;
|
|
}
|