mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-12 01:59:37 +08:00
nixos: add mount check for home directory
PR #1271
(cherry picked from commit 5ba71ef91f)
This commit is contained in:
committed by
Robert Helgesson
parent
96fcf3b017
commit
3797004203
@@ -98,6 +98,8 @@ in {
|
||||
|
||||
environment = serviceEnvironment;
|
||||
|
||||
unitConfig = { RequiresMountsFor = usercfg.home.homeDirectory; };
|
||||
|
||||
serviceConfig = {
|
||||
User = usercfg.home.username;
|
||||
Type = "oneshot";
|
||||
|
||||
Reference in New Issue
Block a user