forked from fabian/nix_config
re-order configuration
This commit is contained in:
parent
33ab479e22
commit
1add39aae0
3 changed files with 40 additions and 34 deletions
|
@ -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
|
||||
'';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue