diff --git a/hosts/_iso/configuration.nix b/hosts/_iso/configuration.nix index fadf700..d971c32 100644 --- a/hosts/_iso/configuration.nix +++ b/hosts/_iso/configuration.nix @@ -1,4 +1,4 @@ -{ pkgs, lib, modulesPath, ... }: +{ pkgs, lib, modulesPath, config, ... }: { imports = [ @@ -18,6 +18,9 @@ nixfiles-auto-install ]; + # Allow user clerie to log in as root directly with ssh keys + users.users.root.openssh.authorizedKeys.keys = config.users.users.clerie.openssh.authorizedKeys.keys; + services.openssh.settings = { PermitRootLogin = lib.mkForce "yes"; };