NixToSee/hosts/game-luanti/default.nix
2025-05-30 00:59:59 +02:00

26 lines
522 B
Nix

{
imports = [
./boot.nix
./hardware-configuration.nix
../../modules/game/server/luanti
../../modules/sec_auth/ssh-server.nix
../../modules/pkg_mgrmnt/unattended-updates.nix
../../system_profiles/server.nix
];
users = let
username = "root";
in {
users."${username}".openssh.authorizedKeys.keyFiles = [
../../certificates/id_ed25519_game-luanti.pub
];
};
services.journald.extraConfig = ''
Storage=persistent
SystemMaxUse=100M
SystemKeepFree=50M
'';
}