Files
nixconfig/users.nix
T
OpenAI Coding Assistant ad39155705 feat: add recovery-safe physical host and VPN tools
Keep kbot, Plasma/SDDM, NetworkManager, systemd-boot and the installed storage while adding dev/Hyprland as a separate physical host target. Keep EC2 integration and its updater isolated.

Include WireGuard/OpenVPN clients, NetworkManager OpenVPN integration and network diagnostics; add recovery checks and activation instructions.
2026-09-05 22:02:50 -05:00

37 lines
713 B
Nix

{ pkgs, ... }:
{
users.users.dev = {
isNormalUser = true;
uid = 1001;
description = "Development user";
shell = pkgs.zsh;
extraGroups = [ "wheel" ];
openssh.authorizedKeys.keyFiles = [ ./dev-authorized-keys ];
};
security.sudo.extraRules = [
{
users = [ "dev" ];
commands = [
{
command = "ALL";
options = [ "NOPASSWD" ];
}
];
}
];
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
backupFileExtension = "before-nix";
users.dev.home.stateVersion = "26.05";
};
systemd.tmpfiles.rules = [
"d /home/dev/.config 0755 dev users -"
"d /home/dev/projects 0755 dev users -"
];
}