[yevaud] Username change: bluebird -> qenya

This commit is contained in:
Katherina Walshe-Grey 2024-06-05 15:16:17 +01:00
parent 570e376e2e
commit 0908d7a2c8

View file

@ -14,7 +14,7 @@
time.timeZone = "Etc/UTC"; time.timeZone = "Etc/UTC";
users.users.bluebird = { users.users.qenya = {
isNormalUser = true; isNormalUser = true;
extraGroups = [ "wheel" ]; # Enable sudo for the user. extraGroups = [ "wheel" ]; # Enable sudo for the user.
openssh.authorizedKeys.keys = [ openssh.authorizedKeys.keys = [
@ -32,7 +32,7 @@
# Allow remote root login only from home network # Allow remote root login only from home network
# TODO: Find a less hacky way of doing remote deployment # TODO: Find a less hacky way of doing remote deployment
users.users.root.openssh.authorizedKeys.keys = config.users.users.bluebird.openssh.authorizedKeys.keys; users.users.root.openssh.authorizedKeys.keys = config.users.users.qenya.openssh.authorizedKeys.keys;
services.openssh.extraConfig = "Match Address 45.14.17.200\n PermitRootLogin prohibit-password"; services.openssh.extraConfig = "Match Address 45.14.17.200\n PermitRootLogin prohibit-password";
networking.firewall.allowedTCPPorts = [ 22 80 443 ]; networking.firewall.allowedTCPPorts = [ 22 80 443 ];