Flake for my NixOS devices

Merge branch 'main' of github.com:Bwc9876/nixos-config

bwc9876.dev b3901834 580ee0de

verified
+33 -125
+24 -115
flake.lock
··· 76 76 }, 77 77 "deploy-rs": { 78 78 "inputs": { 79 - "flake-compat": "flake-compat_3", 79 + "flake-compat": "flake-compat_2", 80 80 "nixpkgs": [ 81 81 "spoon", 82 82 "nixpkgs" ··· 158 158 } 159 159 }, 160 160 "flake-compat_2": { 161 - "locked": { 162 - "lastModified": 1733328505, 163 - "narHash": "sha256-NeCCThCEP3eCl2l/+27kNNK7QrwZB1IJCrXfrbv5oqU=", 164 - "rev": "ff81ac966bb2cae68946d5ed5fc4994f96d0ffec", 165 - "revCount": 69, 166 - "type": "tarball", 167 - "url": "https://api.flakehub.com/f/pinned/edolstra/flake-compat/1.1.0/01948eb7-9cba-704f-bbf3-3fa956735b52/source.tar.gz?rev=ff81ac966bb2cae68946d5ed5fc4994f96d0ffec&revCount=69" 168 - }, 169 - "original": { 170 - "type": "tarball", 171 - "url": "https://flakehub.com/f/edolstra/flake-compat/1.tar.gz" 172 - } 173 - }, 174 - "flake-compat_3": { 175 161 "flake": false, 176 162 "locked": { 177 163 "lastModified": 1733328505, ··· 210 196 }, 211 197 "flake-parts_2": { 212 198 "inputs": { 213 - "nixpkgs-lib": "nixpkgs-lib" 214 - }, 215 - "locked": { 216 - "lastModified": 1754091436, 217 - "narHash": "sha256-XKqDMN1/Qj1DKivQvscI4vmHfDfvYR2pfuFOJiCeewM=", 218 - "owner": "hercules-ci", 219 - "repo": "flake-parts", 220 - "rev": "67df8c627c2c39c41dbec76a1f201929929ab0bd", 221 - "type": "github" 222 - }, 223 - "original": { 224 - "owner": "hercules-ci", 225 - "repo": "flake-parts", 226 - "type": "github" 227 - } 228 - }, 229 - "flake-parts_3": { 230 - "inputs": { 231 199 "nixpkgs-lib": [ 232 200 "nixvim", 233 201 "nixpkgs" 234 202 ] 235 203 }, 236 204 "locked": { 237 - "lastModified": 1759362264, 238 - "narHash": "sha256-wfG0S7pltlYyZTM+qqlhJ7GMw2fTF4mLKCIVhLii/4M=", 205 + "lastModified": 1760948891, 206 + "narHash": "sha256-TmWcdiUUaWk8J4lpjzu4gCGxWY6/Ok7mOK4fIFfBuU4=", 239 207 "owner": "hercules-ci", 240 208 "repo": "flake-parts", 241 - "rev": "758cf7296bee11f1706a574c77d072b8a7baa881", 209 + "rev": "864599284fc7c0ba6357ed89ed5e2cd5040f0c04", 242 210 "type": "github" 243 211 }, 244 212 "original": { ··· 315 283 ] 316 284 }, 317 285 "locked": { 318 - "lastModified": 1760359755, 319 - "narHash": "sha256-k7sJPDPio2vQuqSJ/3nOkBy6I2YqZvJYNhJJARLSxrg=", 286 + "lastModified": 1761155197, 287 + "narHash": "sha256-3NcqyhZkWrqY0qlnXqtV82vGwaQ7Be3Ll1w7+NPzq8w=", 320 288 "owner": "nix-community", 321 289 "repo": "flakelight", 322 - "rev": "d8d6ce0774c3df8f7b58b4cd4b5cf4b63b4a9fe6", 290 + "rev": "5afd70555737c62786b69a64980e7bb1c1947956", 323 291 "type": "github" 324 292 }, 325 293 "original": { ··· 435 403 "type": "github" 436 404 } 437 405 }, 438 - "hexecute": { 439 - "inputs": { 440 - "nixpkgs": [ 441 - "nixpkgs" 442 - ] 443 - }, 444 - "locked": { 445 - "lastModified": 1760925323, 446 - "narHash": "sha256-6Fd7foKFaKxwy6ADHRmZbYaGZZ4E7RvfJyEsmWtYQxY=", 447 - "owner": "ThatOtherAndrew", 448 - "repo": "Hexecute", 449 - "rev": "42e595602584bb056d0c717eb1c218278c07ce02", 450 - "type": "github" 451 - }, 452 - "original": { 453 - "owner": "ThatOtherAndrew", 454 - "repo": "Hexecute", 455 - "type": "github" 456 - } 457 - }, 458 406 "hm": { 459 407 "inputs": { 460 408 "nixpkgs": [ ··· 462 410 ] 463 411 }, 464 412 "locked": { 465 - "lastModified": 1760929667, 466 - "narHash": "sha256-nZh6uvc71nVNaf/y+wesnjwsmJ6IZZUnP2EzpZe48To=", 413 + "lastModified": 1761081701, 414 + "narHash": "sha256-IwpfaKg5c/WWQiy8b5QGaVPMvoEQ2J6kpwRFdpVpBNQ=", 467 415 "owner": "nix-community", 468 416 "repo": "home-manager", 469 - "rev": "189c21cf879669008ccf06e78a553f17e88d8ef0", 417 + "rev": "9b4a2a7c4fbd75b422f00794af02d6edb4d9d315", 470 418 "type": "github" 471 419 }, 472 420 "original": { ··· 563 511 "type": "github" 564 512 } 565 513 }, 566 - "nixcord": { 567 - "inputs": { 568 - "flake-compat": "flake-compat_2", 569 - "flake-parts": "flake-parts_2", 570 - "nixpkgs": [ 571 - "nixpkgs" 572 - ] 573 - }, 574 - "locked": { 575 - "lastModified": 1760689525, 576 - "narHash": "sha256-Dl0jvgL5NjgCGkQ8PCLmGIisWcbFhGWPqKRyIGJ9uus=", 577 - "owner": "kaylorben", 578 - "repo": "nixcord", 579 - "rev": "81d2f10a849c4312fefa0cf323dce0a1460dcbbe", 580 - "type": "github" 581 - }, 582 - "original": { 583 - "owner": "kaylorben", 584 - "repo": "nixcord", 585 - "type": "github" 586 - } 587 - }, 588 514 "nixos-hardware": { 589 515 "locked": { 590 - "lastModified": 1760106635, 591 - "narHash": "sha256-2GoxVaKWTHBxRoeUYSjv0AfSOx4qw5CWSFz2b+VolKU=", 516 + "lastModified": 1760958188, 517 + "narHash": "sha256-2m1S4jl+GEDtlt2QqeHil8Ny456dcGSKJAM7q3j/BFU=", 592 518 "owner": "NixOS", 593 519 "repo": "nixos-hardware", 594 - "rev": "9ed85f8afebf2b7478f25db0a98d0e782c0ed903", 520 + "rev": "d6645c340ef7d821602fd2cd199e8d1eed10afbc", 595 521 "type": "github" 596 522 }, 597 523 "original": { ··· 616 542 "type": "github" 617 543 } 618 544 }, 619 - "nixpkgs-lib": { 620 - "locked": { 621 - "lastModified": 1753579242, 622 - "narHash": "sha256-zvaMGVn14/Zz8hnp4VWT9xVnhc8vuL3TStRqwk22biA=", 623 - "owner": "nix-community", 624 - "repo": "nixpkgs.lib", 625 - "rev": "0f36c44e01a6129be94e3ade315a5883f0228a6e", 626 - "type": "github" 627 - }, 628 - "original": { 629 - "owner": "nix-community", 630 - "repo": "nixpkgs.lib", 631 - "type": "github" 632 - } 633 - }, 634 545 "nixvim": { 635 546 "inputs": { 636 - "flake-parts": "flake-parts_3", 547 + "flake-parts": "flake-parts_2", 637 548 "nixpkgs": [ 638 549 "nixpkgs" 639 550 ], ··· 641 552 "systems": "systems_2" 642 553 }, 643 554 "locked": { 644 - "lastModified": 1760906375, 645 - "narHash": "sha256-inbXtSqhaDOxvosjvt8hP/Az/wWwRCxjipH4x5DSD6A=", 555 + "lastModified": 1761169815, 556 + "narHash": "sha256-a8JUU1NIey01VNHndAqAkP76JdESscXJpWITZTlKHWE=", 646 557 "owner": "nix-community", 647 558 "repo": "nixvim", 648 - "rev": "5c1be58f6d938ff93516d00cc3d2c0def4d80198", 559 + "rev": "9a057ef01a832df20f1e5b19db2f0b86b2c7e89a", 649 560 "type": "github" 650 561 }, 651 562 "original": { ··· 685 596 ] 686 597 }, 687 598 "locked": { 688 - "lastModified": 1758662783, 689 - "narHash": "sha256-igrxT+/MnmcftPOHEb+XDwAMq3Xg1Xy7kVYQaHhPlAg=", 599 + "lastModified": 1760652422, 600 + "narHash": "sha256-C88Pgz38QIl9JxQceexqL2G7sw9vodHWx1Uaq+NRJrw=", 690 601 "owner": "NuschtOS", 691 602 "repo": "search", 692 - "rev": "7d4c0fc4ffe3bd64e5630417162e9e04e64b27a4", 603 + "rev": "3ebeebe8b6a49dfb11f771f761e0310f7c48d726", 693 604 "type": "github" 694 605 }, 695 606 "original": { ··· 781 692 "fenix": "fenix", 782 693 "flakelight": "flakelight_2", 783 694 "gh-grader-preview": "gh-grader-preview", 784 - "hexecute": "hexecute", 785 695 "hm": "hm", 786 696 "imperm": "imperm", 787 697 "lanzaboote": "lanzaboote", 788 698 "nix-index-db": "nix-index-db", 789 - "nixcord": "nixcord", 790 699 "nixos-hardware": "nixos-hardware", 791 700 "nixpkgs": "nixpkgs", 792 701 "nixvim": "nixvim", ··· 868 777 ] 869 778 }, 870 779 "locked": { 871 - "lastModified": 1760872113, 872 - "narHash": "sha256-WabIW2s6Os7rXfWVmEex4GQO+xzrP9CX84CR64p80Xo=", 780 + "lastModified": 1761008491, 781 + "narHash": "sha256-gkZ9PYgx5mt+2F1++shCndW1U3GLpdnyHiRPfm0+pG8=", 873 782 "ref": "refs/heads/main", 874 - "rev": "4393a47799ec2716720dab8d6c467f58234f6d9b", 875 - "revCount": 268, 783 + "rev": "0c5b9b010b5f70a43095a24bab4c1203706858bd", 784 + "revCount": 270, 876 785 "type": "git", 877 786 "url": "https://codeberg.org/spoonbaker/mono" 878 787 },
-6
flake.nix
··· 27 27 gh-grader-preview.inputs.nixpkgs.follows = "nixpkgs"; 28 28 bingus.url = "github:Bwc9876/bingus-bot"; 29 29 bingus.inputs.nixpkgs.follows = "nixpkgs"; 30 - hexecute.url = "github:ThatOtherAndrew/Hexecute"; 31 - hexecute.inputs.nixpkgs.follows = "nixpkgs"; 32 - nixcord.url = "github:kaylorben/nixcord"; 33 - nixcord.inputs.nixpkgs.follows = "nixpkgs"; 34 30 35 31 spoon.url = "git+https://codeberg.org/spoonbaker/mono"; 36 32 spoon.inputs = { ··· 58 54 bingus, 59 55 spoon, 60 56 gh-grader-preview, 61 - hexecute, 62 - nixcord, 63 57 }: 64 58 flakelight ./. { 65 59 imports = [
-4
nixosModules/graphics/shell.nix
··· 25 25 hyprlock 26 26 hyprland-qtutils 27 27 28 - # The best program ever made 29 - inputs'.hexecute.packages.hexecute 30 - 31 28 ## Waybar 32 29 qt6.qttools # For component 33 30 ··· 309 306 powerMenu = "rofi -modi 'p:${pkgs.rofi-power-menu}/bin/rofi-power-menu' -show p --symbols-font \"FiraMono Nerd Font Mono\""; 310 307 screenshot = "${pkgs.nushell}/bin/nu ${../../res/screenshot.nu}"; 311 308 in [ 312 - "SUPER,SPACE,exec,${inputs'.hexecute.packages.default}/bin/hexecute" 313 309 "SUPER,S,exec,uwsm app -- rofi -show drun -icon-theme \"candy-icons\" -show-icons" 314 310 "SUPER SHIFT,E,exec,uwsm app -- rofi -modi emoji -show emoji" 315 311 "SUPER SHIFT,D,exec,swaync-client -d"
+9
nixosModules/graphics/waybar.nix
··· 212 212 border-color: @sapphire; 213 213 } 214 214 215 + #mpris { 216 + opacity: 0; 217 + } 218 + 219 + #mpris.paused { 220 + opacity: 1; 221 + } 222 + 215 223 #mpris.playing { 224 + opacity: 1; 216 225 border-color: @sapphire; 217 226 } 218 227