3 Commits

Author SHA1 Message Date
3f0dd956f6 hosts/artemis: add to deploy-rs
All checks were successful
Check flake / build-amd64-linux (push) Successful in 1m23s
2025-07-19 16:14:20 +01:00
fb61fd10d9 hosts/artemis: permit root login 2025-07-19 16:13:32 +01:00
1421079efd hosts/artemis: add authorized SSH key for root 2025-07-19 16:05:28 +01:00
2 changed files with 16 additions and 0 deletions

View File

@@ -157,6 +157,7 @@
autoRollback = true;
sshUser = "root";
nodes = lib.genAttrs [
"artemis"
"mail"
"pi"
"skycam"

View File

@@ -5,6 +5,9 @@
...
}:
let
inherit (lib) mkForce;
in
{
imports = [
inputs.disko.nixosModules.disko
@@ -30,6 +33,18 @@
networkmanager.enable = true;
};
services.openssh.settings.PermitRootLogin = mkForce "prohibit-password";
users = {
users = {
root = {
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILVHTjsyMIV4THNw6yz0OxAxGnC+41gX72UrPqTzR+OS jordan@vimium.com"
];
};
};
};
services.sunshine = {
enable = false;
package = pkgs.unstable.sunshine;