1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-26 21:19:45 +01:00

nixos: add mount check for home directory

PR #1271
This commit is contained in:
Finn Behrens 2020-05-25 11:16:57 +02:00 committed by Robert Helgesson
parent a957e2dc6b
commit 5ba71ef91f
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -98,6 +98,8 @@ in {
environment = serviceEnvironment; environment = serviceEnvironment;
unitConfig = { RequiresMountsFor = usercfg.home.homeDirectory; };
serviceConfig = { serviceConfig = {
User = usercfg.home.username; User = usercfg.home.username;
Type = "oneshot"; Type = "oneshot";