2020-04-12 18:57:47 +02:00
|
|
|
{ pkgs, ... }:
|
2022-07-19 13:03:03 +02:00
|
|
|
{
|
2022-04-04 01:10:26 +02:00
|
|
|
# Disable asking for password for sudo
|
|
|
|
security.sudo.extraRules = [
|
|
|
|
{
|
|
|
|
users = [ "adrielus" ];
|
|
|
|
commands = [{
|
|
|
|
command = "ALL";
|
|
|
|
options = [ "SETENV" "NOPASSWD" ];
|
|
|
|
}];
|
|
|
|
}
|
|
|
|
];
|
|
|
|
|
2020-04-08 18:36:58 +02:00
|
|
|
users = {
|
|
|
|
mutableUsers = false;
|
|
|
|
users.adrielus = {
|
2022-07-19 13:03:03 +02:00
|
|
|
passwordFile = "~/water/pass";
|
2020-10-30 12:37:31 +01:00
|
|
|
extraGroups = [ "wheel" "networkmanager" "lp" "docker" ];
|
2020-04-10 13:51:37 +02:00
|
|
|
isNormalUser = true;
|
2021-11-29 15:00:11 +01:00
|
|
|
shell = pkgs.fish;
|
2020-04-08 18:36:58 +02:00
|
|
|
};
|
|
|
|
};
|
2022-04-04 01:10:26 +02:00
|
|
|
# };
|
2020-04-08 18:36:58 +02:00
|
|
|
}
|