From 78bcd3070bc57211f46252af86ef0ec58a153b2c Mon Sep 17 00:00:00 2001 From: Tobias Happ Date: Tue, 7 Dec 2021 20:51:45 +0100 Subject: [PATCH] nixos.general: add dependency for hm service and /run/user mount Homeage puts secrets to /run/user/$UID during home-manager activation. See https://github.com/jordanisaacs/homeage/issues/19 --- nixos/base/general.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nixos/base/general.nix b/nixos/base/general.nix index 8f55a877..9109d47d 100644 --- a/nixos/base/general.nix +++ b/nixos/base/general.nix @@ -85,6 +85,11 @@ in system.stateVersion = "21.11"; + systemd.services.home-manager-tobias = { + after = [ "run-user-${toString config.custom.ids.uids.tobias}.mount" ]; + wants = [ "run-user-${toString config.custom.ids.uids.tobias}.mount" ]; + }; + time.timeZone = "Europe/Berlin"; users.users = {