28 lines
503 B
Nix
28 lines
503 B
Nix
{ pkgs, inputs, config, keys, ... }: {
|
|
users.users.gortium = {
|
|
isNormalUser = true;
|
|
extraGroups = [ "wheel" "docker" "video" "render"];
|
|
|
|
packages = with pkgs; [
|
|
tree
|
|
btop
|
|
nh
|
|
];
|
|
shell = pkgs.zsh;
|
|
openssh.authorizedKeys.keys = [
|
|
keys.users.gortium.main
|
|
];
|
|
};
|
|
security.sudo.extraRules = [
|
|
{
|
|
users = [ "gortium" ];
|
|
commands = [
|
|
{
|
|
command = "ALL";
|
|
options = [ "NOPASSWD" ];
|
|
}
|
|
];
|
|
}
|
|
];
|
|
}
|