feat(dragonwell): foundryvtt

Signed-off-by: jolheiser <git@jolheiser.com>
homepage
jolheiser 2024-09-04 23:08:09 -05:00
parent 253f360ccf
commit dc2fdf7773
No known key found for this signature in database
5 changed files with 63 additions and 6 deletions

View File

@ -227,6 +227,24 @@
"type": "github" "type": "github"
} }
}, },
"foundry": {
"inputs": {
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1724255099,
"narHash": "sha256-sFAdYSD8nq3uo/TlVBn7hmZTWU17yy1DLubmfQIQk+Q=",
"owner": "reckenrode",
"repo": "nix-foundryvtt",
"rev": "b4b1c18856bf6fead7fcc9382f47866e32b1c7a4",
"type": "github"
},
"original": {
"owner": "reckenrode",
"repo": "nix-foundryvtt",
"type": "github"
}
},
"ghostty": { "ghostty": {
"inputs": { "inputs": {
"nixpkgs-stable": "nixpkgs-stable", "nixpkgs-stable": "nixpkgs-stable",
@ -514,16 +532,16 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1722813957, "lastModified": 1719838683,
"narHash": "sha256-IAoYyYnED7P8zrBFMnmp7ydaJfwTnwcnqxUElC1I26Y=", "narHash": "sha256-Zw9rQjHz1ilNIimEXFeVa1ERNRBF8DoXDhLAZq5B4pE=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "cb9a96f23c491c081b38eab96d22fa958043c9fa", "rev": "d032c1a6dfad4eedec7e35e91986becc699d7d69",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "nixos", "owner": "nixos",
"ref": "nixos-unstable", "ref": "nixos-24.05",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }
@ -561,6 +579,22 @@
} }
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": {
"lastModified": 1722813957,
"narHash": "sha256-IAoYyYnED7P8zrBFMnmp7ydaJfwTnwcnqxUElC1I26Y=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "cb9a96f23c491c081b38eab96d22fa958043c9fa",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_3": {
"locked": { "locked": {
"lastModified": 1721562059, "lastModified": 1721562059,
"narHash": "sha256-Tybxt65eyOARf285hMHIJ2uul8SULjFZbT9ZaEeUnP8=", "narHash": "sha256-Tybxt65eyOARf285hMHIJ2uul8SULjFZbT9ZaEeUnP8=",
@ -621,6 +655,7 @@
"blog": "blog", "blog": "blog",
"cfg": "cfg", "cfg": "cfg",
"flake-utils": "flake-utils", "flake-utils": "flake-utils",
"foundry": "foundry",
"ghostty": "ghostty", "ghostty": "ghostty",
"gist": "gist", "gist": "gist",
"git-age": "git-age", "git-age": "git-age",
@ -630,7 +665,7 @@
"helix": "helix", "helix": "helix",
"home-manager": "home-manager", "home-manager": "home-manager",
"nixos-hardware": "nixos-hardware", "nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs", "nixpkgs": "nixpkgs_2",
"nur": "nur", "nur": "nur",
"resume": "resume", "resume": "resume",
"tclip": "tclip", "tclip": "tclip",
@ -818,7 +853,7 @@
"tclip": { "tclip": {
"inputs": { "inputs": {
"gomod2nix": "gomod2nix", "gomod2nix": "gomod2nix",
"nixpkgs": "nixpkgs_2", "nixpkgs": "nixpkgs_3",
"utils": [ "utils": [
"flake-utils" "flake-utils"
] ]

View File

@ -103,6 +103,7 @@
url = "git+https://git.xeno.science/xenofem/actual-nix.git"; url = "git+https://git.xeno.science/xenofem/actual-nix.git";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
foundry.url = "github:reckenrode/nix-foundryvtt";
tsnet-serve = { tsnet-serve = {
url = "git+https://git.jolheiser.com/tsnet-serve-nix.git"; url = "git+https://git.jolheiser.com/tsnet-serve-nix.git";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
@ -220,6 +221,9 @@
colmena = { colmena = {
meta = { meta = {
nixpkgs = import nixpkgs { inherit overlays system; }; nixpkgs = import nixpkgs { inherit overlays system; };
specialArgs = {
inherit inputs;
};
}; };
dragonwell = dragonwell =
{ pkgs, ... }: { pkgs, ... }:
@ -231,6 +235,7 @@
inputs.git-pr.nixosModules.default inputs.git-pr.nixosModules.default
inputs.actual.nixosModules.default inputs.actual.nixosModules.default
inputs.tsnet-serve.nixosModules.default inputs.tsnet-serve.nixosModules.default
inputs.foundry.nixosModules.foundryvtt
./modules/tclip ./modules/tclip
./machines/dragonwell ./machines/dragonwell
]; ];

View File

@ -77,6 +77,10 @@ in
"irc.jolheiser.com".extraConfig = '' "irc.jolheiser.com".extraConfig = ''
reverse_proxy localhost:7658 reverse_proxy localhost:7658
''; '';
"dnd.jolheiser.com".extraConfig = ''
reverse_proxy localhost:30000
'';
}; };
}; };
} }

View File

@ -7,6 +7,7 @@ in
./actual.nix ./actual.nix
./caddy.nix ./caddy.nix
./dex.nix ./dex.nix
./foundry.nix
./git-pr.nix ./git-pr.nix
./golink.nix ./golink.nix
./gotosocial.nix ./gotosocial.nix

View File

@ -0,0 +1,12 @@
{ inputs, pkgs, ... }:
{
services.foundryvtt = {
enable = true;
hostName = "dnd.jolheiser.com";
minifyStaticFiles = true;
proxyPort = 443;
proxySSL = true;
upnp = false;
package = inputs.foundry.packages.${pkgs.system}.foundryvtt_12;
};
}