2025-08-08 17:00:47 -04:00
|
|
|
|
{ pkgs, inputs, config, keys, ... }: {
|
2025-08-04 22:15:59 -04:00
|
|
|
|
users.users.gortium = {
|
|
|
|
|
|
isNormalUser = true;
|
|
|
|
|
|
extraGroups = [ "wheel" "docker" ]; # Enable ‘sudo’ for the user.
|
|
|
|
|
|
packages = with pkgs; [
|
|
|
|
|
|
tree
|
2025-08-08 17:00:47 -04:00
|
|
|
|
btop
|
|
|
|
|
|
];
|
|
|
|
|
|
shell = pkgs.zsh;
|
|
|
|
|
|
openssh.authorizedKeys.keys = [
|
|
|
|
|
|
keys.users.gortium.main
|
2025-08-04 22:15:59 -04:00
|
|
|
|
];
|
|
|
|
|
|
};
|
2025-08-08 17:00:47 -04:00
|
|
|
|
programs.zsh.enable = true;
|
|
|
|
|
|
security.sudo.extraRules = [
|
|
|
|
|
|
{
|
|
|
|
|
|
users = [ "gortium" ];
|
|
|
|
|
|
commands = [
|
|
|
|
|
|
{
|
|
|
|
|
|
command = "ALL";
|
|
|
|
|
|
options = [ "NOPASSWD" ];
|
|
|
|
|
|
}
|
|
|
|
|
|
];
|
|
|
|
|
|
}
|
|
|
|
|
|
];
|
2025-08-04 22:15:59 -04:00
|
|
|
|
}
|