nixos: space-age time
This commit is contained in:
parent
a8b6acd64a
commit
6400546512
2 changed files with 10 additions and 3 deletions
|
@ -219,7 +219,7 @@ in {
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
exec ${depot.nix.pkgs.javaws-env}/bin/javaws-env "$@"
|
exec ${depot.nix.pkgs.javaws-env}/bin/javaws-env "$@"
|
||||||
'')
|
'')
|
||||||
factorio-experimental
|
factorio-space-age-experimental
|
||||||
(depot.nix.pkgs.secretsync.configure {
|
(depot.nix.pkgs.secretsync.configure {
|
||||||
workingDir = "/home/lukegb/depot";
|
workingDir = "/home/lukegb/depot";
|
||||||
gitlabAccessToken = secrets.deployer.gitlabAccessToken;
|
gitlabAccessToken = secrets.deployer.gitlabAccessToken;
|
||||||
|
|
|
@ -387,11 +387,12 @@
|
||||||
services.factorio = {
|
services.factorio = {
|
||||||
inherit (depot.ops.secrets.factorio) username token;
|
inherit (depot.ops.secrets.factorio) username token;
|
||||||
enable = true;
|
enable = true;
|
||||||
saveName = "lukegb20240512-spaceexploration";
|
saveName = "lukegb20241107-spaceage";
|
||||||
game-name = "Briefcase Full of Bees";
|
game-name = "Briefcase Full of Bees";
|
||||||
mods = depot.nix.pkgs.factorio-mods._all;
|
#mods = depot.nix.pkgs.factorio-mods._all;
|
||||||
#mods-dat = ./mod-settings.dat;
|
#mods-dat = ./mod-settings.dat;
|
||||||
admins = ["lukegb"];
|
admins = ["lukegb"];
|
||||||
|
package = pkgs.factorio-headless-experimental;
|
||||||
extraSettings = {
|
extraSettings = {
|
||||||
auto_pause = true;
|
auto_pause = true;
|
||||||
only_admins_can_pause_the_game = false;
|
only_admins_can_pause_the_game = false;
|
||||||
|
@ -504,6 +505,12 @@
|
||||||
reverse_proxy unix//run/seaweedfs-filer/s3.sock
|
reverse_proxy unix//run/seaweedfs-filer/s3.sock
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
virtualHosts."http://objdump.zxcvbnm.ninja" = {
|
||||||
|
serverAliases = [ "http://*.objdump.zxcvbnm.ninja" ];
|
||||||
|
extraConfig = ''
|
||||||
|
reverse_proxy unix//run/seaweedfs-filer/s3.sock
|
||||||
|
'';
|
||||||
|
};
|
||||||
};
|
};
|
||||||
systemd.services.caddy.serviceConfig = {
|
systemd.services.caddy.serviceConfig = {
|
||||||
SupplementaryGroups = lib.mkAfter [ "acme" ];
|
SupplementaryGroups = lib.mkAfter [ "acme" ];
|
||||||
|
|
Loading…
Reference in a new issue