feat: add luanti server
This commit is contained in:
parent
ddf8154933
commit
6922232ec5
6 changed files with 55 additions and 6 deletions
|
@ -1,16 +1,21 @@
|
|||
{
|
||||
imports = [
|
||||
./boot.nix
|
||||
./hardware-configuration.nix
|
||||
|
||||
../../system_profiles/defaults.nix
|
||||
../../system_profiles/mini-container.nix
|
||||
../../system_profiles/mini.nix
|
||||
../../system_profiles/server.nix
|
||||
|
||||
../../modules/game/server/luanti
|
||||
../../modules/sec_auth/ssh-server.nix
|
||||
];
|
||||
|
||||
users = let
|
||||
username = "root";
|
||||
in {
|
||||
users."${username}".openssh.authorizedKeys.keyFiles = [
|
||||
/etc/nixos/ssh/authorized_keys.d/${username}
|
||||
../../certificates/id_ed25519_game-luanti.pub
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue