Compare commits

..

3 commits

Author SHA1 Message Date
c4adbb05dd
ame: updates
Some checks failed
fmt check / check (push) Successful in 35s
flake check / check (push) Failing after 11m51s
2024-01-11 07:51:55 -05:00
7a6dc122b9
stash: bump version 2024-01-11 07:51:17 -05:00
545d9ba7d9
sora: add terraria 2024-01-09 22:56:48 -05:00
6 changed files with 28 additions and 8 deletions

View file

@ -23,11 +23,6 @@
fsType = "vfat"; fsType = "vfat";
}; };
fileSystems."/nas" = {
device = "192.168.1.199:/mnt/Sutoreji/ame";
fsType = "nfs";
};
swapDevices = [ swapDevices = [
{device = "/dev/disk/by-uuid/4f69ab31-f6a9-4799-92f1-5abbe0dc9180";} {device = "/dev/disk/by-uuid/4f69ab31-f6a9-4799-92f1-5abbe0dc9180";}
]; ];

View file

@ -1,6 +1,7 @@
{pkgs, ...}: { {pkgs, ...}: {
imports = [ imports = [
../../home ../../home
../../home/firefox
../../home/wezterm ../../home/wezterm
../../home/zathura ../../home/zathura
../../home/zellij ../../home/zellij
@ -15,7 +16,6 @@
username = "notoh"; username = "notoh";
homeDirectory = "/home/notoh"; homeDirectory = "/home/notoh";
packages = with pkgs; [ packages = with pkgs; [
floorp
discord discord
spotify-player spotify-player
cinny-desktop cinny-desktop

View file

@ -1,7 +1,7 @@
_: { _: {
networking = { networking = {
networkmanager.enable = true; networkmanager.enable = true;
nameservers = ["192.168.1.221"]; nameservers = ["192.168.1.103"];
firewall = { firewall = {
enable = true; enable = true;
}; };

View file

@ -7,6 +7,7 @@
./attic.nix ./attic.nix
./tailscale.nix ./tailscale.nix
./croc.nix ./croc.nix
./terraria.nix
# ./factorio.nix # ./factorio.nix
# ./minecraft.nix # ./minecraft.nix
# ./foundryvtt.nix # ./foundryvtt.nix

View file

@ -0,0 +1,24 @@
{...}: {
networking.firewall.allowedTCPPorts = [7777];
virtualisation.oci-containers.containers.terraria = {
image = "jacobsmile/tmodloader1.4:v2023.11.3.3";
ports = ["7777:7777"];
volumes = ["/var/lib/terraria/tmodloader:/data"];
environment = {
TMOD_MOTD = "forsen";
TMOD_PASS = "forsen";
TMOD_AUTOSAVE_INTERVAL = "10";
TMOD_SHUTDOWN_MESSAGE = "Server is shutting down NOW!";
TMOD_AUTODOWNLOAD = "2824688072,2824688266,2669644269,2563309347,2619954303,2687866031,2563851005,2908170107";
TMOD_ENABLEDMODS = "2824688072,2824688266,2669644269,2563309347,2619954303,2687866031,2563851005,2908170107";
TMOD_MAXPLAYERS = "10";
TMOD_WORLDNAME = "forsenv2";
TMOD_WORLDSIZE = "3";
TMOD_DIFFICULTY = "2";
TMOD_NPCSTREAM = "60";
TMOD_WORLDSEED = "random";
TMOD_LANGUAGE = "en-US";
TMOD_UPNP = "1";
};
};
}

View file

@ -1,6 +1,6 @@
_: { _: {
virtualisation.oci-containers.containers.stash = { virtualisation.oci-containers.containers.stash = {
image = "stashapp/stash:v0.24.1"; image = "stashapp/stash:v0.24.2";
environment = { environment = {
STASH_STASH = "/data/"; STASH_STASH = "/data/";
STASH_GENERATED = "/generated/"; STASH_GENERATED = "/generated/";