sudo: fix extraGroups of motiejus
this misses 'wheel'
This commit is contained in:
parent
4a5893ae73
commit
b1b046d78a
@ -48,7 +48,11 @@
|
||||
uid = myData.uidgid.motiejus;
|
||||
openssh.authorizedKeys.keys = [myData.people_pubkeys.motiejus];
|
||||
}
|
||||
// lib.filterAttrs (n: v: v != null) passwd.motiejus or {};
|
||||
// lib.filterAttrs (
|
||||
n: v:
|
||||
(n == "passwordFile" || n == "initialPassword") && v != null
|
||||
)
|
||||
passwd.motiejus or {};
|
||||
|
||||
root = assert lib.assertMsg (passwd ? root) "root password needs to be defined";
|
||||
lib.filterAttrs (n: v: v != null) passwd.root;
|
||||
|
Loading…
Reference in New Issue
Block a user