Files
haschel/modules/users.nix
Atridad Lahiji 8a8df0e9f5
All checks were successful
Deploy NixOS / deploy (push) Successful in 33s
Fixed a bunch of warnings now that I have a working linter
2026-02-23 14:52:59 -07:00

22 lines
525 B
Nix

{ ... }:
let
settings = import ../settings.nix;
in
{
users.users.${settings.username} = {
isNormalUser = true;
description = settings.userDescription;
extraGroups = settings.userGroups;
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMuiXQV7+vtLxoyLojnW/Pkt6ScWQs29KPZe8aJVAvvC"
];
};
users.users.root.openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMuiXQV7+vtLxoyLojnW/Pkt6ScWQs29KPZe8aJVAvvC"
];
security.sudo.execWheelOnly = true;
}