feat: added proper hardware-configuration and sshd

This commit is contained in:
Ranomier 2025-05-08 23:45:04 +02:00
parent 55a252b632
commit ddf8154933
2 changed files with 43 additions and 6 deletions

View file

@ -1,13 +1,16 @@
{
pkgs,
lib,
modulesPath,
...
}: {
imports = [
./hardware-configuration.nix
../../system_profiles/defaults.nix
../../system_profiles/mini-container.nix
];
users = let
username = "root";
in {
users."${username}".openssh.authorizedKeys.keyFiles = [
/etc/nixos/ssh/authorized_keys.d/${username}
];
};
}