Skip to content

Commit 6ebd898

Browse files
stackptrclaude
andcommitted
fix: remove owner/group from attic-credentials secret
atticd uses DynamicUser so the atticd user doesn't exist during activation when agenix decrypts secrets. Default to root:root — systemd reads the EnvironmentFile as root before dropping privileges. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent d663ca3 commit 6ebd898

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

‎hosts/glyph/services/attic.nix‎

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
{config, ...}: {
2-
age.secrets.attic-credentials = {
3-
file = ./../secrets/attic-credentials.age;
4-
mode = "440";
5-
owner = "atticd";
6-
group = "atticd";
7-
};
2+
age.secrets.attic-credentials.file = ./../secrets/attic-credentials.age;
83

94
systemd.services.atticd = {
105
after = ["postgresql.service"];

0 commit comments

Comments
 (0)