diff --git a/hosts/skycam/default.nix b/hosts/skycam/default.nix index 15aab6f..31c542b 100644 --- a/hosts/skycam/default.nix +++ b/hosts/skycam/default.nix @@ -1,4 +1,4 @@ -{ config, pkgs, ... }: +{ config, lib, pkgs, ... }: { imports = [ @@ -59,6 +59,14 @@ }; }; + users.users.root = { + openssh.authorizedKeys.keys = [ + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILVHTjsyMIV4THNw6yz0OxAxGnC+41gX72UrPqTzR+OS jordan@vimium.com" + ]; + }; + + services.openssh.settings.PermitRootLogin = lib.mkForce "prohibit-password"; + environment.systemPackages = with pkgs; [ camera-streamer git