This repository has no description
0

Configure Feed

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

neoprism: host nixpkgs-triage dashboard on review.lassul.us

+61
+21
flake.lock
··· 763 763 "url": "https://channels.nixos.org/nixos-unstable/nixexprs.tar.xz" 764 764 } 765 765 }, 766 + "nixpkgs-triage": { 767 + "inputs": { 768 + "nixpkgs": [ 769 + "nixpkgs" 770 + ] 771 + }, 772 + "locked": { 773 + "lastModified": 1790940488, 774 + "narHash": "sha256-+LOrHqVP8o43P2em3z0y444mGZgPo4GlRfUukjUV0Po=", 775 + "owner": "Lassulus", 776 + "repo": "nixpkgs-triage", 777 + "rev": "df4ccf5a2981de4e10b14a2b1491ceee7051b36b", 778 + "type": "github" 779 + }, 780 + "original": { 781 + "owner": "Lassulus", 782 + "repo": "nixpkgs-triage", 783 + "type": "github" 784 + } 785 + }, 766 786 "nixpkgs_2": { 767 787 "locked": { 768 788 "lastModified": 1790463110, ··· 932 952 "nixos-hardware": "nixos-hardware", 933 953 "nixos-mailserver": "nixos-mailserver", 934 954 "nixpkgs": "nixpkgs_2", 955 + "nixpkgs-triage": "nixpkgs-triage", 935 956 "nixvim": "nixvim", 936 957 "opencrow": "opencrow", 937 958 "rogue-talk": "rogue-talk",
+3
flake.nix
··· 84 84 hermes-agent.url = "github:nousresearch/hermes-agent"; 85 85 hermes-agent.inputs.nixpkgs.follows = "nixpkgs"; 86 86 87 + nixpkgs-triage.url = "github:Lassulus/nixpkgs-triage"; 88 + nixpkgs-triage.inputs.nixpkgs.follows = "nixpkgs"; 89 + 87 90 rogue-talk.url = "github:rogue-talk/rogue-talk"; 88 91 rogue-talk.inputs.nixpkgs.follows = "nixpkgs"; 89 92
+33
2configs/nixpkgs-triage.nix
··· 1 + { config, self, ... }: 2 + let 3 + domain = "review.lassul.us"; 4 + port = 8476; 5 + in 6 + { 7 + # read-only dashboard of open nixpkgs PRs (github.com/Lassulus/nixpkgs-triage) 8 + imports = [ self.inputs.nixpkgs-triage.nixosModules.default ]; 9 + 10 + services.nixpkgs-triage = { 11 + enable = true; 12 + inherit port; 13 + environmentFile = config.clan.core.vars.generators.nixpkgs-triage.files.env.path; 14 + }; 15 + 16 + clan.core.vars.generators.nixpkgs-triage = { 17 + files.env = { }; 18 + prompts.token = { 19 + description = "GitHub token for syncing open nixpkgs PRs (read-only access to public repos is enough)"; 20 + type = "hidden"; 21 + persist = false; 22 + }; 23 + script = '' 24 + printf 'GITHUB_TOKEN=%s\n' "$(tr -d '\n' < "$prompts/token")" > "$out/env" 25 + ''; 26 + }; 27 + 28 + services.nginx.virtualHosts.${domain} = { 29 + enableACME = true; 30 + forceSSL = true; 31 + locations."/".proxyPass = "http://127.0.0.1:${toString port}"; 32 + }; 33 + }
+1
2configs/dns/lassul.us.zone
··· 60 60 omni IN CNAME neoprism 61 61 where.is IN CNAME neoprism 62 62 parley IN CNAME neoprism 63 + review IN CNAME neoprism 63 64 when IN CNAME neoprism 64 65 65 66 ;; Mail
+3
machines/neoprism/config.nix
··· 140 140 141 141 # parley federated IRC-speaking chat (parley.lassul.us) 142 142 ../../2configs/parley.nix 143 + 144 + # nixpkgs PR triage dashboard (review.lassul.us) 145 + ../../2configs/nixpkgs-triage.nix 143 146 ]; 144 147 145 148 # lassul.us shouldn't be the default vhost here (nginx.nix already sets one)