From 44195a7d870460e2847c07a1da0df0c452b4dd77 Mon Sep 17 00:00:00 2001 From: Colin Date: Wed, 26 Apr 2023 03:46:18 +0000 Subject: [PATCH] programs: ship /home secrets correctly --- modules/programs.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/programs.nix b/modules/programs.nix index d26a5b71..14851d7c 100644 --- a/modules/programs.nix +++ b/modules/programs.nix @@ -148,7 +148,9 @@ let mapAttrs' (homePath: src: { # TODO: user the user's *actual* home directory, don't guess. - name = "/home/${user}/${homePath}"; + # XXX: name CAN'T START WITH '/', else sops creates the directories funny. + # TODO: report this upstream. + name = "home/${user}/${homePath}"; value = { owner = user; sopsFile = src;