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.
37 lines
713 B
Nix
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 -"
|
|
];
|
|
}
|