My NixOS configuration (mirror)

feat: added solaar for g502 config

+145 -1
+133 -1
flake.lock
··· 51 51 "url": "https://git.lix.systems/lix-project/flake-compat.git" 52 52 } 53 53 }, 54 + "flake-compat_3": { 55 + "flake": false, 56 + "locked": { 57 + "lastModified": 1733328505, 58 + "narHash": "sha256-NeCCThCEP3eCl2l/+27kNNK7QrwZB1IJCrXfrbv5oqU=", 59 + "owner": "edolstra", 60 + "repo": "flake-compat", 61 + "rev": "ff81ac966bb2cae68946d5ed5fc4994f96d0ffec", 62 + "type": "github" 63 + }, 64 + "original": { 65 + "owner": "edolstra", 66 + "repo": "flake-compat", 67 + "type": "github" 68 + } 69 + }, 70 + "flake-compat_4": { 71 + "flake": false, 72 + "locked": { 73 + "lastModified": 1650374568, 74 + "narHash": "sha256-Z+s0J8/r907g149rllvwhb4pKi8Wam5ij0st8PwAh+E=", 75 + "owner": "edolstra", 76 + "repo": "flake-compat", 77 + "rev": "b4a34015c698c7793d592d66adbab377907a2be8", 78 + "type": "github" 79 + }, 80 + "original": { 81 + "owner": "edolstra", 82 + "repo": "flake-compat", 83 + "type": "github" 84 + } 85 + }, 54 86 "flake-parts": { 55 87 "inputs": { 56 88 "nixpkgs-lib": [ ··· 90 122 "type": "github" 91 123 } 92 124 }, 125 + "flake-utils-plus": { 126 + "inputs": { 127 + "flake-utils": "flake-utils_3" 128 + }, 129 + "locked": { 130 + "lastModified": 1715533576, 131 + "narHash": "sha256-fT4ppWeCJ0uR300EH3i7kmgRZnAVxrH+XtK09jQWihk=", 132 + "owner": "gytis-ivaskevicius", 133 + "repo": "flake-utils-plus", 134 + "rev": "3542fe9126dc492e53ddd252bb0260fe035f2c0f", 135 + "type": "github" 136 + }, 137 + "original": { 138 + "owner": "gytis-ivaskevicius", 139 + "repo": "flake-utils-plus", 140 + "rev": "3542fe9126dc492e53ddd252bb0260fe035f2c0f", 141 + "type": "github" 142 + } 143 + }, 93 144 "flake-utils_2": { 94 145 "inputs": { 95 146 "systems": "systems_4" ··· 100 151 "owner": "numtide", 101 152 "repo": "flake-utils", 102 153 "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", 154 + "type": "github" 155 + }, 156 + "original": { 157 + "owner": "numtide", 158 + "repo": "flake-utils", 159 + "type": "github" 160 + } 161 + }, 162 + "flake-utils_3": { 163 + "inputs": { 164 + "systems": "systems_5" 165 + }, 166 + "locked": { 167 + "lastModified": 1694529238, 168 + "narHash": "sha256-zsNZZGTGnMOf9YpHKJqMSsa0dXbfmxeoJ7xHlrt+xmY=", 169 + "owner": "numtide", 170 + "repo": "flake-utils", 171 + "rev": "ff7b65b44d01cf9ba6a71320833626af21126384", 103 172 "type": "github" 104 173 }, 105 174 "original": { ··· 418 487 "niri": "niri", 419 488 "nixpkgs": "nixpkgs_5", 420 489 "nvf": "nvf", 421 - "rpc-lsp": "rpc-lsp" 490 + "rpc-lsp": "rpc-lsp", 491 + "solaar": "solaar" 422 492 } 423 493 }, 424 494 "rpc-lsp": { ··· 440 510 "type": "github" 441 511 } 442 512 }, 513 + "snowfall-lib": { 514 + "inputs": { 515 + "flake-compat": "flake-compat_4", 516 + "flake-utils-plus": "flake-utils-plus", 517 + "nixpkgs": [ 518 + "solaar", 519 + "nixpkgs" 520 + ] 521 + }, 522 + "locked": { 523 + "lastModified": 1718097323, 524 + "narHash": "sha256-zCgs8Wp7rdt0tjNUHMUIvi6sIvDoprWIHwvTGq+LMK0=", 525 + "owner": "snowfallorg", 526 + "repo": "lib", 527 + "rev": "aa19b02b63025263cec041fcb7a0857c3cb98859", 528 + "type": "github" 529 + }, 530 + "original": { 531 + "owner": "snowfallorg", 532 + "ref": "v3.0.3", 533 + "repo": "lib", 534 + "type": "github" 535 + } 536 + }, 537 + "solaar": { 538 + "inputs": { 539 + "flake-compat": "flake-compat_3", 540 + "nixpkgs": [ 541 + "nixpkgs" 542 + ], 543 + "snowfall-lib": "snowfall-lib" 544 + }, 545 + "locked": { 546 + "lastModified": 1751535505, 547 + "narHash": "sha256-MOFgDU5wtIe96/dBfjWHDuV372+jGq5IBB/3km0yBr0=", 548 + "owner": "Svenum", 549 + "repo": "Solaar-Flake", 550 + "rev": "b6668450e18e3f788855fc5f54a84861ec3ffee9", 551 + "type": "github" 552 + }, 553 + "original": { 554 + "owner": "Svenum", 555 + "ref": "main", 556 + "repo": "Solaar-Flake", 557 + "type": "github" 558 + } 559 + }, 443 560 "systems": { 444 561 "locked": { 445 562 "lastModified": 1681028828, ··· 486 603 } 487 604 }, 488 605 "systems_4": { 606 + "locked": { 607 + "lastModified": 1681028828, 608 + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", 609 + "owner": "nix-systems", 610 + "repo": "default", 611 + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", 612 + "type": "github" 613 + }, 614 + "original": { 615 + "owner": "nix-systems", 616 + "repo": "default", 617 + "type": "github" 618 + } 619 + }, 620 + "systems_5": { 489 621 "locked": { 490 622 "lastModified": 1681028828, 491 623 "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
+5
flake.nix
··· 24 24 nvf.url = "github:notashelf/nvf"; 25 25 26 26 rpc-lsp.url = "github:matthew-hre/discord-rpc-lsp-flake"; 27 + 28 + solaar = { 29 + url = "github:Svenum/Solaar-Flake/main"; 30 + inputs.nixpkgs.follows = "nixpkgs"; 31 + }; 27 32 }; 28 33 29 34 outputs = inputs @ {
+7
hosts/thwomp/configuration.nix
··· 4 4 { 5 5 config, 6 6 pkgs, 7 + inputs, 7 8 ... 8 9 }: let 9 10 system = ../../system; ··· 26 27 "${system}/services/openssh.nix" 27 28 "${system}/services/openvpn.nix" 28 29 "${system}/services/pipewire.nix" 30 + 31 + inputs.solaar.nixosModules.default 29 32 ]; 30 33 31 34 boot = { ··· 78 81 tidal-hifi 79 82 rocmPackages.rocm-smi 80 83 ]; 84 + 85 + services.solaar.enable = true; 86 + 87 + hardware.logitech.wireless.enable = true; 81 88 82 89 # This value determines the NixOS release from which the default 83 90 # settings for stateful data, like file locations and database versions