mirror of
https://github.com/nix-community/home-manager
synced 2024-11-23 19:49:45 +01:00
91551c09d4
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
7 lines
229 B
Nix
7 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;
|
|
}
|