mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-18 16:29:38 +01:00
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
|
||
|---|---|---|
| .. | ||
| .hidden | ||
| default.nix | ||
| executable.nix | ||
| hidden-source.nix | ||
| out-of-store-symlink.nix | ||
| source with spaces! | ||
| source-with-spaces.nix | ||
| text-expected.txt | ||
| text.nix | ||