fix: use rootPath everywhere! :3
This commit is contained in:
parent
33a314b658
commit
5a9e25cc6e
4 changed files with 14 additions and 22 deletions
|
@ -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)
|
||||
];
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue