Flake for my NixOS devices
1
fork

Configure Feed

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

Add Bingus Service

bwc9876.dev 4c408316 2f8ab55c

verified
+148 -10
+131 -9
flake.lock
··· 1 1 { 2 2 "nodes": { 3 + "bingus": { 4 + "inputs": { 5 + "flakelight": "flakelight", 6 + "nixpkgs": [ 7 + "nixpkgs" 8 + ], 9 + "pyproject-build-systems": "pyproject-build-systems", 10 + "pyproject-nix": "pyproject-nix", 11 + "uv2nix": "uv2nix" 12 + }, 13 + "locked": { 14 + "lastModified": 1744117789, 15 + "narHash": "sha256-KHPAE52WtLZZuQaBZA8v/avEB5X8PHIXOdQ+9twqork=", 16 + "owner": "Bwc9876", 17 + "repo": "bingus-bot", 18 + "rev": "1e823a8da3fa1dd3568a12a69405e5cc068c65ec", 19 + "type": "github" 20 + }, 21 + "original": { 22 + "owner": "Bwc9876", 23 + "ref": "module", 24 + "repo": "bingus-bot", 25 + "type": "github" 26 + } 27 + }, 3 28 "catppuccin": { 4 29 "inputs": { 5 30 "nixpkgs": [ ··· 129 154 "flakelight": { 130 155 "inputs": { 131 156 "nixpkgs": [ 157 + "bingus", 132 158 "nixpkgs" 133 159 ] 134 160 }, 135 161 "locked": { 136 - "lastModified": 1744029987, 137 - "narHash": "sha256-J1hZh9FHHCHKLGByZveXTnWK6G/oXjnbs9BS+GX+8jg=", 162 + "lastModified": 1741610597, 163 + "narHash": "sha256-dA8dIKrIZfyD07Xms/67y3eMU5yXJO+8K1s0mdMrobg=", 138 164 "owner": "nix-community", 139 165 "repo": "flakelight", 140 - "rev": "a9deddc856e2d279d616e5f4f1fdd43c5d1c8ac3", 166 + "rev": "a4698f0f05f8e9f57b3a621b93edae444747ad15", 141 167 "type": "github" 142 168 }, 143 169 "original": { ··· 149 175 "flakelight-rust": { 150 176 "inputs": { 151 177 "crane": "crane", 152 - "flakelight": "flakelight_2" 178 + "flakelight": "flakelight_3" 153 179 }, 154 180 "locked": { 155 181 "lastModified": 1738672886, ··· 168 194 "flakelight_2": { 169 195 "inputs": { 170 196 "nixpkgs": [ 171 - "gh-grader-preview", 172 197 "nixpkgs" 173 198 ] 174 199 }, ··· 189 214 "flakelight_3": { 190 215 "inputs": { 191 216 "nixpkgs": [ 217 + "gh-grader-preview", 218 + "nixpkgs" 219 + ] 220 + }, 221 + "locked": { 222 + "lastModified": 1744029987, 223 + "narHash": "sha256-J1hZh9FHHCHKLGByZveXTnWK6G/oXjnbs9BS+GX+8jg=", 224 + "owner": "nix-community", 225 + "repo": "flakelight", 226 + "rev": "a9deddc856e2d279d616e5f4f1fdd43c5d1c8ac3", 227 + "type": "github" 228 + }, 229 + "original": { 230 + "owner": "nix-community", 231 + "repo": "flakelight", 232 + "type": "github" 233 + } 234 + }, 235 + "flakelight_4": { 236 + "inputs": { 237 + "nixpkgs": [ 192 238 "nu_plugin_dbus", 193 239 "nixpkgs" 194 240 ] ··· 207 253 "type": "github" 208 254 } 209 255 }, 210 - "flakelight_4": { 256 + "flakelight_5": { 211 257 "inputs": { 212 258 "nixpkgs": [ 213 259 "wayland-mpris-idle-inhibit", ··· 434 480 }, 435 481 "nu_plugin_dbus": { 436 482 "inputs": { 437 - "flakelight": "flakelight_3", 483 + "flakelight": "flakelight_4", 438 484 "nixpkgs": [ 439 485 "nixpkgs" 440 486 ] ··· 502 548 "type": "github" 503 549 } 504 550 }, 551 + "pyproject-build-systems": { 552 + "inputs": { 553 + "nixpkgs": [ 554 + "bingus", 555 + "nixpkgs" 556 + ], 557 + "pyproject-nix": [ 558 + "bingus", 559 + "pyproject-nix" 560 + ], 561 + "uv2nix": [ 562 + "bingus", 563 + "uv2nix" 564 + ] 565 + }, 566 + "locked": { 567 + "lastModified": 1741647088, 568 + "narHash": "sha256-y/Aj21rMGdE23dcFfD4lRhNMgkhIRucp+uuWLWUXv0M=", 569 + "owner": "pyproject-nix", 570 + "repo": "build-system-pkgs", 571 + "rev": "6d7eced86469cf89ed4d19d91b870163deb0dca2", 572 + "type": "github" 573 + }, 574 + "original": { 575 + "owner": "pyproject-nix", 576 + "repo": "build-system-pkgs", 577 + "type": "github" 578 + } 579 + }, 580 + "pyproject-nix": { 581 + "inputs": { 582 + "nixpkgs": [ 583 + "bingus", 584 + "nixpkgs" 585 + ] 586 + }, 587 + "locked": { 588 + "lastModified": 1741648141, 589 + "narHash": "sha256-jQEZCSCgm60NGmBg3JPu290DDhNVI1GVVEd0P8VCnME=", 590 + "owner": "pyproject-nix", 591 + "repo": "pyproject.nix", 592 + "rev": "7747e5a058245c7abe033a798f818f0572d8e155", 593 + "type": "github" 594 + }, 595 + "original": { 596 + "owner": "pyproject-nix", 597 + "repo": "pyproject.nix", 598 + "type": "github" 599 + } 600 + }, 505 601 "root": { 506 602 "inputs": { 603 + "bingus": "bingus", 507 604 "catppuccin": "catppuccin", 508 - "flakelight": "flakelight", 605 + "flakelight": "flakelight_2", 509 606 "gh-grader-preview": "gh-grader-preview", 510 607 "hm": "hm", 511 608 "imperm": "imperm", ··· 575 672 "type": "github" 576 673 } 577 674 }, 675 + "uv2nix": { 676 + "inputs": { 677 + "nixpkgs": [ 678 + "bingus", 679 + "nixpkgs" 680 + ], 681 + "pyproject-nix": [ 682 + "bingus", 683 + "pyproject-nix" 684 + ] 685 + }, 686 + "locked": { 687 + "lastModified": 1741780535, 688 + "narHash": "sha256-B4seqoWl9HlKZ7m+nDosVtmDw9i6KbhvfonQlYhRrJg=", 689 + "owner": "pyproject-nix", 690 + "repo": "uv2nix", 691 + "rev": "7de0e836e005f971a252e20b478d12b8b64909d8", 692 + "type": "github" 693 + }, 694 + "original": { 695 + "owner": "pyproject-nix", 696 + "repo": "uv2nix", 697 + "type": "github" 698 + } 699 + }, 578 700 "wayland-mpris-idle-inhibit": { 579 701 "inputs": { 580 - "flakelight": "flakelight_4", 702 + "flakelight": "flakelight_5", 581 703 "nixpkgs": [ 582 704 "nixpkgs" 583 705 ]
+3
flake.nix
··· 25 25 imperm.url = "github:nix-community/impermanence"; 26 26 nu_plugin_dbus.url = "github:Bwc9876/nu_plugin_dbus"; 27 27 nu_plugin_dbus.inputs.nixpkgs.follows = "nixpkgs"; 28 + bingus.url = "github:Bwc9876/bingus-bot/module"; 29 + bingus.inputs.nixpkgs.follows = "nixpkgs"; 28 30 }; 29 31 30 32 outputs = inputs @ { ··· 42 44 nixvim, 43 45 imperm, 44 46 nu_plugin_dbus, 47 + bingus, 45 48 }: 46 49 flakelight ./. { 47 50 inherit inputs;
+14 -1
systemConfigs/black-mesa.nix
··· 1 - {outputs, ...}: { 1 + { 2 + outputs, 3 + inputs, 4 + ... 5 + }: { 2 6 system = "x86_64-linux"; 3 7 4 8 modules = [ 5 9 (outputs.lib.applyRoles ["base" "latest-linux" "wireless" "ssh" "graphics" "games" "fun" "dev" "secureboot" "mc-server"]) 10 + { 11 + imports = [inputs.bingus.nixosModules.default]; 12 + nixpkgs.overlays = [inputs.bingus.overlays.default]; 13 + 14 + services.bingus-bot = { 15 + enable = true; 16 + replyChannels = [1295447496948191262 1295245646542143489]; 17 + }; 18 + } 6 19 ({ 7 20 modulesPath, 8 21 lib,