Archived
1
0
forked from rarias/bscpkgs

Add xeon08 basic config

This commit is contained in:
2023-05-05 20:18:01 +02:00
parent fd1b467a60
commit a5c7205481
7 changed files with 152 additions and 0 deletions

23
xeon08/users.nix Normal file
View File

@@ -0,0 +1,23 @@
{ ... }:
{
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 = [{
command = "ALL" ;
options= [ "NOPASSWD" ]; # "SETENV" # Adding the following could be a good idea
}];
}];
}