users/root: remove unnecessary ssh match block

This commit is contained in:
Infinidoge 2024-04-21 18:59:33 -04:00
parent 21bfdb7328
commit f0d148ea75
Signed by: Infinidoge
SSH key fingerprint: SHA256:oAMyvotlNFraMmZmr+p6AxnNfW/GioTs1pOn3V4tQ7A

View file

@ -3,12 +3,4 @@
hashedPasswordFile = lib.mkIf config.modules.secrets.enable config.secrets.root-password; hashedPasswordFile = lib.mkIf config.modules.secrets.enable config.secrets.root-password;
openssh.authorizedKeys.keys = import ./ssh-keys.nix; openssh.authorizedKeys.keys = import ./ssh-keys.nix;
}; };
home-manager.users.root = { ... }: {
programs.ssh.matchBlocks = {
"server.doge-inc.net" = {
identityFile = "/root/.ssh/id_25519";
};
};
};
} }