Files
infra/users/gortium.nix

27 lines
541 B
Nix
Raw Permalink Normal View History

{ 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
btop
];
shell = pkgs.zsh;
openssh.authorizedKeys.keys = [
keys.users.gortium.main
2025-08-04 22:15:59 -04:00
];
};
programs.zsh.enable = true;
security.sudo.extraRules = [
{
users = [ "gortium" ];
commands = [
{
command = "ALL";
options = [ "NOPASSWD" ];
}
];
}
];
2025-08-04 22:15:59 -04:00
}