feat: add jet as a trusted user

This commit is contained in:
Jet 2026-03-23 16:10:33 -07:00
parent 9b5a32e04b
commit b41c85b161
No known key found for this signature in database
2 changed files with 14 additions and 1 deletions

View file

@ -67,6 +67,14 @@
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIE40ISu3ydCqfdpb26JYD5cIN0Fu0id/FDS+xjB5zpqu"
];
users.users.jet = {
isNormalUser = true;
extraGroups = [ "wheel" ];
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIE40ISu3ydCqfdpb26JYD5cIN0Fu0id/FDS+xjB5zpqu"
];
};
# SSH - Secure it
services.openssh = {
enable = true;
@ -120,8 +128,13 @@
"nix-command"
"flakes"
];
nix.settings.trusted-users = [
"root"
"jet"
];
nix.settings.max-jobs = "auto";
nix.settings.cores = 0;
security.sudo.wheelNeedsPassword = false;
services.postgresql.package = pkgs.postgresql_15;
nixpkgs.config.allowUnfree = true; # Allow unfree packages (Minecraft, etc.)