From d336460d20ab0f4a26943f4b0f7c0b8d5b7ec996 Mon Sep 17 00:00:00 2001 From: axtlos Date: Thu, 19 May 2022 20:14:50 +0200 Subject: [PATCH] add user to nix-users group for nix --- src/functions/users.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/functions/users.rs b/src/functions/users.rs index dfe5fb9..6f3bff0 100755 --- a/src/functions/users.rs +++ b/src/functions/users.rs @@ -24,6 +24,7 @@ pub fn new_user(username: &str, hasroot: bool, password: &str) { String::from("-a"), String::from("-G"), String::from("wheel"), + String::from("nix-users"), String::from(username), ], ),