24 lines
528 B
Nix
24 lines
528 B
Nix
{rootPath, ...}: {
|
|
imports = [
|
|
./boot.nix
|
|
./hardware-configuration.nix
|
|
(rootPath + /system_profiles/server.nix)
|
|
|
|
(rootPath + /modules/game/server/luanti)
|
|
(rootPath + /modules/pkg_mgrmnt/unattended-updates.nix)
|
|
];
|
|
|
|
users = let
|
|
username = "root";
|
|
in {
|
|
users."${username}".openssh.authorizedKeys.keyFiles = [
|
|
(rootPath + /certificates/id_ed25519_game-luanti.pub)
|
|
];
|
|
};
|
|
|
|
services.journald.extraConfig = ''
|
|
Storage=persistent
|
|
SystemMaxUse=100M
|
|
SystemKeepFree=50M
|
|
'';
|
|
}
|