Change hostname to chromatic-aberration, enable SSH

Since it's a Chromebox and that name sounds vaguely cool I guess
This commit is contained in:
Anthony Wang 2025-09-24 21:54:57 -04:00
parent 7d6204cad9
commit e187328689
No known key found for this signature in database
2 changed files with 12 additions and 3 deletions

View file

@ -32,7 +32,7 @@
};
networking = {
hostName = "nixos";
hostName = "chromatic-aberration";
networkmanager.enable = true;
};
@ -42,12 +42,22 @@
enable = true;
wayland.enable = true;
};
openssh = {
enable = true;
settings = {
PasswordAuthentication = false;
PermitRootLogin = "no";
};
};
};
users.users.sipb = {
isNormalUser = true;
extraGroups = [ "wheel" ];
shell = pkgs.fish;
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPDLPakDnAelqFTUudQB8X0T7yc/8ekV3jGqpeJb062l anthonywang"
];
};
programs = {