summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2015-09-30 21:10:07 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2015-09-30 21:10:07 +0200
commit508e9c0abde67e42a7dffae4d19475439f774d6b (patch)
treeec3cb74912a28dcfb7435b6a4e60c53e1539070d
parent54535a3dfb9285b677794783c39416369a9fe932 (diff)
downloadnixos-508e9c0abde67e42a7dffae4d19475439f774d6b.tar
nixos-508e9c0abde67e42a7dffae4d19475439f774d6b.tar.gz
nixos-508e9c0abde67e42a7dffae4d19475439f774d6b.tar.bz2
nixos-508e9c0abde67e42a7dffae4d19475439f774d6b.tar.xz
nixos-508e9c0abde67e42a7dffae4d19475439f774d6b.zip
Better spot for shadow perms
-rw-r--r--ymir.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/ymir.nix b/ymir.nix
index 0a1c3410..09a0a965 100644
--- a/ymir.nix
+++ b/ymir.nix
@@ -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"