This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

2configs/mazegame: serve maze.lassul.us on neoprism

+63 -1
+21
flake.lock
··· 552 552 "type": "github" 553 553 } 554 554 }, 555 + "mazegame": { 556 + "inputs": { 557 + "nixpkgs": [ 558 + "nixpkgs" 559 + ] 560 + }, 561 + "locked": { 562 + "lastModified": 1789920601, 563 + "narHash": "sha256-4TNAueQrBZVXdd5Xng2762caj03rY4knT++CRdLCSdk=", 564 + "owner": "lassulus", 565 + "repo": "mazegame", 566 + "rev": "144886275b4fcde442e71aaf5a7827b2e70e81f2", 567 + "type": "github" 568 + }, 569 + "original": { 570 + "owner": "lassulus", 571 + "repo": "mazegame", 572 + "type": "github" 573 + } 574 + }, 555 575 "nether": { 556 576 "inputs": { 557 577 "clan-core": [ ··· 924 944 "kartei": "kartei", 925 945 "le_menu": "le_menu", 926 946 "llm-agents": "llm-agents", 947 + "mazegame": "mazegame", 927 948 "nether": "nether", 928 949 "nix-darwin": "nix-darwin_2", 929 950 "nix-index-database": "nix-index-database",
+3
flake.nix
··· 105 105 sigexec.url = "git+https://git.geninf.io/Lassulus/sigexec"; 106 106 sigexec.inputs.nixpkgs.follows = "nixpkgs"; 107 107 108 + mazegame.url = "github:lassulus/mazegame"; 109 + mazegame.inputs.nixpkgs.follows = "nixpkgs"; 110 + 108 111 }; 109 112 110 113 outputs =
+34
2configs/mazegame.nix
··· 1 + let 2 + domain = "maze.lassul.us"; 3 + port = 8772; 4 + in 5 + { self, ... }: 6 + { 7 + # mazegame: Windows 95 "Maze" screensaver you can play in a browser tab. The 8 + # exit is the NixOS snowflake. /watch is a spectator camera that follows a 9 + # random player and cuts to the next one after 2s without movement. 10 + imports = [ self.inputs.mazegame.nixosModules.default ]; 11 + 12 + services.mazegame = { 13 + enable = true; 14 + host = "127.0.0.1"; 15 + port = port; 16 + }; 17 + 18 + services.nginx.virtualHosts.${domain} = { 19 + enableACME = true; 20 + forceSSL = true; 21 + # Player and watcher sockets stay open for as long as someone is in the 22 + # maze; players heartbeat every 3s, watchers every 3s, so the default 23 + # 60s read timeout would only bite on a wedged client, but a long window 24 + # keeps idle spectators connected. 25 + locations."/" = { 26 + proxyPass = "http://127.0.0.1:${toString port}"; 27 + proxyWebsockets = true; 28 + extraConfig = '' 29 + proxy_read_timeout 1h; 30 + proxy_send_timeout 1h; 31 + ''; 32 + }; 33 + }; 34 + }
+2 -1
2configs/dns/lassul.us.zone
··· 1 - @ 3600 IN SOA lassul.us. ns1.lassul.us. 2026090800 7200 3600 86400 3600 1 + @ 3600 IN SOA lassul.us. ns1.lassul.us. 2026092000 7200 3600 86400 3600 2 2 3 3 ;;@ 3600 IN NS ns1 4 4 @ 3600 IN NS ns1 ··· 58 58 id IN CNAME neoprism 59 59 covibe IN CNAME neoprism 60 60 omni IN CNAME neoprism 61 + maze IN CNAME neoprism 61 62 where.is IN CNAME neoprism 62 63 63 64 ;; Mail
+3
machines/neoprism/config.nix
··· 119 119 # omnigent agent meta-harness (omni.lassul.us) 120 120 ../../2configs/omnigent.nix 121 121 122 + # browser maze game with spectator camera (maze.lassul.us) 123 + ../../2configs/mazegame.nix 124 + 122 125 # radicle public seed (radicle.lassul.us) 123 126 ../../2configs/radicle.lassul.us.nix 124 127 # radicle identity + node for this machine (/var/lib/rad)