summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2015-09-30 20:59:16 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2015-09-30 20:59:16 +0200
commit54535a3dfb9285b677794783c39416369a9fe932 (patch)
tree1dbba92b0fec78e5c80d3e13115a81881aac291a
parent0ecdddde8b06b6f5b29f895a9e049be8626976c5 (diff)
downloadnixos-54535a3dfb9285b677794783c39416369a9fe932.tar
nixos-54535a3dfb9285b677794783c39416369a9fe932.tar.gz
nixos-54535a3dfb9285b677794783c39416369a9fe932.tar.bz2
nixos-54535a3dfb9285b677794783c39416369a9fe932.tar.xz
nixos-54535a3dfb9285b677794783c39416369a9fe932.zip
trying to make /etc/shadow permissions permanent
-rw-r--r--ymir.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/ymir.nix b/ymir.nix
index 8f72e345..0a1c3410 100644
--- a/ymir.nix
+++ b/ymir.nix
@@ -122,6 +122,10 @@ in {
122 members = [ "prosody" 122 members = [ "prosody"
123 ]; 123 ];
124 }; 124 };
125 boot.postBootCommands = ''
126 chown root:shadow /etc/shadow
127 chmod 640 /etc/shadow
128 '';
125 users.groups."xmpp" = { 129 users.groups."xmpp" = {
126 members = [ "gkleen" 130 members = [ "gkleen"
127 ]; 131 ];