diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2015-09-30 20:59:16 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2015-09-30 20:59:16 +0200 |
commit | 54535a3dfb9285b677794783c39416369a9fe932 (patch) | |
tree | 1dbba92b0fec78e5c80d3e13115a81881aac291a /ymir.nix | |
parent | 0ecdddde8b06b6f5b29f895a9e049be8626976c5 (diff) | |
download | nixos-54535a3dfb9285b677794783c39416369a9fe932.tar nixos-54535a3dfb9285b677794783c39416369a9fe932.tar.gz nixos-54535a3dfb9285b677794783c39416369a9fe932.tar.bz2 nixos-54535a3dfb9285b677794783c39416369a9fe932.tar.xz nixos-54535a3dfb9285b677794783c39416369a9fe932.zip |
trying to make /etc/shadow permissions permanent
Diffstat (limited to 'ymir.nix')
-rw-r--r-- | ymir.nix | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 | ]; |