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 ++++++--- accounts/mherold@eostre.nix | 9 ++++++--- 2 files changed, 12 insertions(+), 6 deletions(-) (limited to 'accounts') 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 = { diff --git a/accounts/mherold@eostre.nix b/accounts/mherold@eostre.nix index 538a3903..287cabd6 100644 --- a/accounts/mherold@eostre.nix +++ b/accounts/mherold@eostre.nix @@ -9,9 +9,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