I know how to do it in home-manager;)
home.file = {
".netrc".source = /home/b0ef/ds/platform/conf/home.dot.netrc;
I know how to do it in home-manager;)
home.file = {
".netrc".source = /home/b0ef/ds/platform/conf/home.dot.netrc;
I need to make a symlink to a file in /etc, so I can’t use home-manager
In similar way with environment.etc.<name>.source
…
right, but how can I make it a general directory or subdirectory under etc?
, like
/etc/nixos/foo.txt
This should do it: environment.etc.<name>.source = "/etc/nixos/foo.txt"