Change hostname and regular user name

This commit is contained in:
coolneng 2021-04-06 11:10:09 +02:00
parent ad688375bf
commit 01240d5fda
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 7 additions and 8 deletions

View File

@ -34,16 +34,15 @@
boot.cleanTmpDir = true; boot.cleanTmpDir = true;
# Set hostname # Set hostname
networking.hostName = "zion"; networking.hostName = "aegis";
# Create coolneng user # Create coace user
users.users.coolneng = { users.users.coace = {
isNormalUser = true; isNormalUser = true;
home = "/home/coolneng"; extraGroups = [ "wheel" ];
extraGroups = [ "wheel" "docker" ]; openssh.authorizedKeys.keys = [''
openssh.authorizedKeys.keys = [ ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINNmNckWBxa2fQkUjWLHgQd32C272yB+f9kTcnooszd5 coolneng@panacea
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFRqINHR7/zc+c3/PuR+NeSsBHXXzBiEtFWSK6QaxQTW coolneng@panacea" ''];
];
shell = "${pkgs.fish}/bin/fish"; shell = "${pkgs.fish}/bin/fish";
}; };