From 011e8c2bf8fec5fb52dda08601d211563660f0f2 Mon Sep 17 00:00:00 2001 From: Aleix Roca Nonell Date: Wed, 14 Jun 2023 16:16:46 +0200 Subject: [PATCH] Move arocanon user from xeon08 to common --- common/users.nix | 28 ++++++++++++++++++++-------- xeon08/users.nix | 12 ------------ 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/common/users.nix b/common/users.nix index 03a5eb1..be34db7 100644 --- a/common/users.nix +++ b/common/users.nix @@ -3,14 +3,26 @@ { users = { mutableUsers = false; - users.rarias = { - uid = 1880; - isNormalUser = true; - home = "/home/Computational/rarias"; - description = "Rodrigo Arias"; - group = "Computational"; - extraGroups = [ "wheel" ]; - hashedPassword = "$6$u06tkCy13enReBsb$xiI.twRvvTfH4jdS3s68NZ7U9PSbGKs5.LXU/UgoawSwNWhZo2hRAjNL5qG0/lAckzcho2LjD0r3NfVPvthY6/"; + users = { + rarias = { + uid = 1880; + isNormalUser = true; + home = "/home/Computational/rarias"; + description = "Rodrigo Arias"; + group = "Computational"; + extraGroups = [ "wheel" ]; + hashedPassword = "$6$u06tkCy13enReBsb$xiI.twRvvTfH4jdS3s68NZ7U9PSbGKs5.LXU/UgoawSwNWhZo2hRAjNL5qG0/lAckzcho2LjD0r3NfVPvthY6/"; + }; + + arocanon = { + uid = 1042; + isNormalUser = true; + home = "/home/Computational/arocanon"; + description = "Aleix Roca"; + group = "Computational"; + extraGroups = [ "wheel" ]; + hashedPassword = "$6$hliZiW4tULC/tH7p$pqZarwJkNZ7vS0G5llWQKx08UFG9DxDYgad7jplMD8WkZh5k58i4dfPoWtnEShfjTO6JHiIin05ny5lmSXzGM/"; + }; }; groups = { diff --git a/xeon08/users.nix b/xeon08/users.nix index 4a01344..a1cfab4 100644 --- a/xeon08/users.nix +++ b/xeon08/users.nix @@ -1,18 +1,6 @@ { ... }: { - users = { - users.arocanon = { - uid = 1042; - isNormalUser = true; - home = "/home/Computational/arocanon"; - description = "Aleix Roca"; - group = "Computational"; - extraGroups = [ "wheel" ]; - hashedPassword = "$6$hliZiW4tULC/tH7p$pqZarwJkNZ7vS0G5llWQKx08UFG9DxDYgad7jplMD8WkZh5k58i4dfPoWtnEShfjTO6JHiIin05ny5lmSXzGM/"; - }; - }; - security.sudo.extraRules= [{ users = [ "arocanon" ]; commands = [{