diff options
-rw-r--r-- | ymir.nix | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -122,9 +122,9 @@ in { | |||
122 | members = [ "prosody" | 122 | members = [ "prosody" |
123 | ]; | 123 | ]; |
124 | }; | 124 | }; |
125 | boot.postBootCommands = '' | 125 | system.activationScripts."shadow-perms" = '' |
126 | chown root:shadow /etc/shadow | 126 | chown root:shadow /etc/shadow |
127 | chmod 640 /etc/shadow | 127 | chmod 0640 /etc/shadow |
128 | ''; | 128 | ''; |
129 | users.groups."xmpp" = { | 129 | users.groups."xmpp" = { |
130 | members = [ "gkleen" | 130 | members = [ "gkleen" |