Installer configuration and baldur boot
This commit is contained in:
parent
fb2c2128d1
commit
44af181073
4 changed files with 67 additions and 72 deletions
13
nixos_modules/installer.nix
Normal file
13
nixos_modules/installer.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
permitRootLogin = "prohibit-password";
|
||||
passwordAuthentication = false;
|
||||
};
|
||||
users.users.root = {
|
||||
openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIN+zsSWZFFzQKnATCAvtG+iuSm4qkZHjCtHzGa9B/71W"
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue