re-order configuration

This commit is contained in:
Fabian Montero 2024-12-02 14:57:33 -06:00
parent 33ab479e22
commit 1add39aae0
Signed by untrusted user: fabian
GPG key ID: 1FFAC35E1798174F
3 changed files with 40 additions and 34 deletions

View file

@ -17,6 +17,20 @@ with lib; {
baseline.enable = true;
};
networking.hostName = "vps";
users = {
users.fabian = {
isNormalUser = true;
uid = 1000;
group = "fabian";
shell = pkgs.zsh;
extraGroups = ["users" "wheel" "networkmanager" "dialout" "libvirtd"];
openssh.authorizedKeys.keyFiles = [public_files/pki/fabian.ssh];
};
groups.fabian.gid = 1000;
};
services.openssh = {
settings.PasswordAuthentication = false;
};
@ -36,20 +50,6 @@ with lib; {
};
};
networking.hostName = "vps";
users = {
users.fabian = {
isNormalUser = true;
uid = 1000;
group = "fabian";
shell = pkgs.zsh;
extraGroups = ["users" "wheel" "networkmanager" "dialout" "libvirtd"];
openssh.authorizedKeys.keyFiles = [public_files/pki/fabian.ssh];
};
groups.fabian.gid = 1000;
};
systemd.extraConfig = ''
DefaultTimeoutStartSec=900s
'';