proprifié un peu ssh root
This commit is contained in:
parent
a9c479c9ce
commit
c53cb64d61
5 changed files with 16 additions and 16 deletions
|
@ -1,8 +1,15 @@
|
|||
{ ssh }:
|
||||
{ config, lib, pkgs, mods, ... }:
|
||||
{
|
||||
programs.zsh.enable = true;
|
||||
users.users.root.shell = pkgs.zsh;
|
||||
home-manager.users.root = {
|
||||
home.stateVersion = "23.11";
|
||||
imports = with mods.home; [ neovim zsh ];
|
||||
};
|
||||
} // lib.attrsets.optionalAttrs ssh {
|
||||
users.users.root.openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAA16foz+XzwKwyIR4wFgNIAE3Y7AfXyEsUZFVVz8Rie catvayor@katvayor"
|
||||
];
|
||||
services.openssh.enable = true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue