From a7a2b85a3a45b6c7c3dce3e189fb97be82068b1f Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Fri, 11 Nov 2022 18:22:48 +0100 Subject: ... --- accounts/gkleen@eostre.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'accounts/gkleen@eostre.nix') diff --git a/accounts/gkleen@eostre.nix b/accounts/gkleen@eostre.nix index cad7e70b..8257d815 100644 --- a/accounts/gkleen@eostre.nix +++ b/accounts/gkleen@eostre.nix @@ -10,9 +10,12 @@ after = ["home-${userName}.mount"]; }; - systemd.mounts."home-${userName}" = { - wants = ["home-manager-${userName}.service"]; - }; + systemd.mounts = [ + { + where = "/home/${userName}"; + wants = ["home-manager-${userName}.service"]; + } + ]; home-manager.users.${userName} = { nixpkgs.config = { -- cgit v1.2.3