fix: use rootPath everywhere! :3

This commit is contained in:
Ranomier 2025-06-15 21:45:30 +02:00
parent 33a314b658
commit 5a9e25cc6e
4 changed files with 14 additions and 22 deletions

View file

@ -1,20 +1,18 @@
{
{rootPath, ...}: {
imports = [
./boot.nix
./hardware-configuration.nix
(rootPath + /system_profiles/server.nix)
../../modules/game/server/luanti
../../modules/sec_auth/ssh-server.nix
../../modules/pkg_mgrmnt/unattended-updates.nix
../../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 = [
../../certificates/id_ed25519_game-luanti.pub
(rootPath + /certificates/id_ed25519_game-luanti.pub)
];
};