factorio: move hosting to monolith
This commit is contained in:
parent
99bb1e74c7
commit
fc320d3fd9
|
@ -24,6 +24,7 @@ in
|
||||||
(modulesPath + "/installer/scan/not-detected.nix")
|
(modulesPath + "/installer/scan/not-detected.nix")
|
||||||
./partition.nix
|
./partition.nix
|
||||||
./amdgpu.nix
|
./amdgpu.nix
|
||||||
|
./factorio-server.nix
|
||||||
];
|
];
|
||||||
boot.initrd.availableKernelModules = [
|
boot.initrd.availableKernelModules = [
|
||||||
"nvme"
|
"nvme"
|
||||||
|
|
|
@ -14,11 +14,11 @@
|
||||||
lan = true;
|
lan = true;
|
||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
admins = [ "lelgenio" ];
|
admins = [ "lelgenio" ];
|
||||||
extraSettingsFile = config.age.secrets.phantom-factorio-settings.path;
|
extraSettingsFile = config.age.secrets.factorio-settings.path;
|
||||||
};
|
};
|
||||||
|
|
||||||
age.secrets.phantom-factorio-settings = {
|
age.secrets.factorio-settings = {
|
||||||
file = ../../secrets/phantom-factorio-settings.age;
|
file = ../../secrets/factorio-settings.age;
|
||||||
mode = "777";
|
mode = "777";
|
||||||
};
|
};
|
||||||
}
|
}
|
|
@ -21,7 +21,6 @@
|
||||||
./invidious.nix
|
./invidious.nix
|
||||||
./davi.nix
|
./davi.nix
|
||||||
./goofs.nix
|
./goofs.nix
|
||||||
./factorio-server.nix
|
|
||||||
];
|
];
|
||||||
|
|
||||||
networking.hostName = "phantom";
|
networking.hostName = "phantom";
|
||||||
|
|
|
@ -12,7 +12,7 @@ in
|
||||||
"monolith-forgejo-runner-token.age".publicKeys = [ main_ssh_public_key ];
|
"monolith-forgejo-runner-token.age".publicKeys = [ main_ssh_public_key ];
|
||||||
"lelgenio-cachix.age".publicKeys = [ main_ssh_public_key ];
|
"lelgenio-cachix.age".publicKeys = [ main_ssh_public_key ];
|
||||||
"monolith-nix-serve-privkey.age".publicKeys = [ main_ssh_public_key ];
|
"monolith-nix-serve-privkey.age".publicKeys = [ main_ssh_public_key ];
|
||||||
"phantom-factorio-settings.age".publicKeys = [ main_ssh_public_key ];
|
"factorio-settings.age".publicKeys = [ main_ssh_public_key ];
|
||||||
"phantom-nextcloud.age".publicKeys = [ main_ssh_public_key ];
|
"phantom-nextcloud.age".publicKeys = [ main_ssh_public_key ];
|
||||||
"phantom-writefreely.age".publicKeys = [ main_ssh_public_key ];
|
"phantom-writefreely.age".publicKeys = [ main_ssh_public_key ];
|
||||||
"phantom-renawiki.age".publicKeys = [ main_ssh_public_key ];
|
"phantom-renawiki.age".publicKeys = [ main_ssh_public_key ];
|
||||||
|
|
Loading…
Reference in a new issue