diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2022-11-11 18:22:48 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2022-11-11 18:22:48 +0100 |
commit | a7a2b85a3a45b6c7c3dce3e189fb97be82068b1f (patch) | |
tree | 09e136ee00fde5ad6f2b117b1df97da43836a630 | |
parent | 526031b0c58bf1c4189085709bf7bc62b63262ad (diff) | |
download | nixos-a7a2b85a3a45b6c7c3dce3e189fb97be82068b1f.tar nixos-a7a2b85a3a45b6c7c3dce3e189fb97be82068b1f.tar.gz nixos-a7a2b85a3a45b6c7c3dce3e189fb97be82068b1f.tar.bz2 nixos-a7a2b85a3a45b6c7c3dce3e189fb97be82068b1f.tar.xz nixos-a7a2b85a3a45b6c7c3dce3e189fb97be82068b1f.zip |
...
-rw-r--r-- | accounts/gkleen@eostre.nix | 9 | ||||
-rw-r--r-- | accounts/mherold@eostre.nix | 9 |
2 files changed, 12 insertions, 6 deletions
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 @@ | |||
10 | after = ["home-${userName}.mount"]; | 10 | after = ["home-${userName}.mount"]; |
11 | }; | 11 | }; |
12 | 12 | ||
13 | systemd.mounts."home-${userName}" = { | 13 | systemd.mounts = [ |
14 | wants = ["home-manager-${userName}.service"]; | 14 | { |
15 | }; | 15 | where = "/home/${userName}"; |
16 | wants = ["home-manager-${userName}.service"]; | ||
17 | } | ||
18 | ]; | ||
16 | 19 | ||
17 | home-manager.users.${userName} = { | 20 | home-manager.users.${userName} = { |
18 | nixpkgs.config = { | 21 | 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 @@ | |||
9 | after = ["home-${userName}.mount"]; | 9 | after = ["home-${userName}.mount"]; |
10 | }; | 10 | }; |
11 | 11 | ||
12 | systemd.mounts."home-${userName}" = { | 12 | systemd.mounts = [ |
13 | wants = ["home-manager-${userName}.service"]; | 13 | { |
14 | }; | 14 | where = "/home/${userName}"; |
15 | wants = ["home-manager-${userName}.service"]; | ||
16 | } | ||
17 | ]; | ||
15 | 18 | ||
16 | home-manager.users.${userName} = { | 19 | home-manager.users.${userName} = { |
17 | nixpkgs.config = { | 20 | nixpkgs.config = { |