diff --git a/systems/LoutreOS/hardware-configuration.nix b/systems/LoutreOS/hardware-configuration.nix index a093111e8..e72ceb1d5 100644 --- a/systems/LoutreOS/hardware-configuration.nix +++ b/systems/LoutreOS/hardware-configuration.nix @@ -117,6 +117,11 @@ fsType = "zfs"; }; + fileSystems."/var/lib/factorio" = + { device = "loutrepool/var/factorio"; + fsType = "zfs"; + }; + fileSystems."/var/dkim" = { device = "loutrepool/var/dkim"; fsType = "zfs"; diff --git a/systems/LoutreOS/services.nix b/systems/LoutreOS/services.nix index f246a1e9b..0539a3007 100644 --- a/systems/LoutreOS/services.nix +++ b/systems/LoutreOS/services.nix @@ -21,6 +21,7 @@ in ../../services/python-ci.nix ../../services/sdtdserver.nix ../../containers/vsftpd.nix + /mnt/secrets/factorio_secrets.nix ]; nixpkgs.overlays = [ @@ -363,6 +364,14 @@ in python-ci.enable = true; sdtdserver.enable = true; + + factorio = { + enable = true; + autosave-interval = 10; + game-name = "Shame"; + public = true; + username = "nyanloutre"; + }; }; /*