mirror of
https://github.com/nix-community/nix-on-droid.git
synced 2025-11-08 19:46:07 +01:00
home-manager: fix directory not found error
Prepend of /. produces directory not found error when building on a non nix-on-droid environment. The etc module works also with just a string.
This commit is contained in:
parent
83ab467992
commit
2ef9a7faa2
1 changed files with 1 additions and 2 deletions
|
|
@ -127,8 +127,7 @@ in
|
|||
# https://github.com/nix-community/home-manager/blob/0006da1381b87844c944fe8b925ec864ccf19348/modules/home-environment.nix#L414
|
||||
# Fortunately, it's not that hard to us to workaround with just a symlink.
|
||||
environment.etc = mkIf cfg.useUserPackages {
|
||||
"profiles/per-user/${config.user.userName}".source =
|
||||
/. + "${config.user.home}/.nix-profile";
|
||||
"profiles/per-user/${config.user.userName}".source = "${config.user.home}/.nix-profile";
|
||||
};
|
||||
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue