Revert "installer: user: Remove useless filtering."
This reverts commit c2125e59d0
.
Fixes <https://issues.guix.gnu.org/55361>.
This commit is contained in:
parent
dd19b191d6
commit
48c748226e
@ -69,5 +69,10 @@
|
||||
(supplementary-groups '("wheel" "netdev"
|
||||
"audio" "video"))))
|
||||
|
||||
`((users (cons* ,@(map user->sexp users)
|
||||
%base-user-accounts))))
|
||||
`((users (cons*
|
||||
,@(filter-map (lambda (user)
|
||||
;; Do not emit a 'user-account' form for "root".
|
||||
(and (not (string=? (user-name user) "root"))
|
||||
(user->sexp user)))
|
||||
users)
|
||||
%base-user-accounts))))
|
||||
|
Loading…
Reference in New Issue
Block a user