1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-16 08:09:45 +01:00
home-manager/tests/modules/files
Robert Helgesson 91551c09d4
files: add helper function mkOutOfStoreSymlink
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
2020-05-02 01:22:14 +02:00
..
.hidden files: allow a wider range of source file names 2019-01-19 12:44:58 +01:00
default.nix files: add helper function mkOutOfStoreSymlink 2020-05-02 01:22:14 +02:00
executable.nix files: allow a wider range of source file names 2019-01-19 12:44:58 +01:00
hidden-source.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
out-of-store-symlink.nix files: add helper function mkOutOfStoreSymlink 2020-05-02 01:22:14 +02:00
source with spaces! files: allow a wider range of source file names 2019-01-19 12:44:58 +01:00
source-with-spaces.nix files: allow a wider range of source file names 2019-01-19 12:44:58 +01:00
text-expected.txt files: allow a wider range of source file names 2019-01-19 12:44:58 +01:00
text.nix files: allow a wider range of source file names 2019-01-19 12:44:58 +01:00