diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2015-09-30 21:10:07 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2015-09-30 21:10:07 +0200 |
commit | 508e9c0abde67e42a7dffae4d19475439f774d6b (patch) | |
tree | ec3cb74912a28dcfb7435b6a4e60c53e1539070d | |
parent | 54535a3dfb9285b677794783c39416369a9fe932 (diff) | |
download | nixos-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.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" |