NixOS + home-manager configs, mirrored from GitLab SaaS. gitlab.com/andreijiroh-dev/nixops-config
nix-flake nixos home-manager nixpkgs nix-flakes
1
fork

Configure Feed

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

fix(flake): utilize https://github.com/NixOS/nixpkgs/pull/454542 pending upstream merge

Add nixpkgs-bat-extras-pr input to override bat-extras package
in lairland configuration with the patched version from PR #454542.
Locked to commit 46e297cf987ef4fb1eb3b4eac1f978a4c2b80316 to protect
against force-pushes.

(This commit also includes an working draft of CONTRIBUTING.md, currently
unfinished but commited to version history anyway for checkpointing progress
before doing nixos-rebuild on my desktop machine.)

Co-authored-by: GitHub Copilot Chat <noreply@github.com>
Signed-off-by: Andrei Jiroh Halili <ajhalili2006@andreijiroh.dev>

+42
+3
CONTRIBUTING.md
··· 1 + # Contributing to the project 2 + 3 + While this is primarily
+17
flake.lock
··· 305 305 "type": "github" 306 306 } 307 307 }, 308 + "nixpkgs-bat-extras-pr": { 309 + "locked": { 310 + "lastModified": 1761320182, 311 + "narHash": "sha256-2tMNyUgi8cgqUlBw3yt5+tSZrXEhOlYrLnpmafK/pDU=", 312 + "owner": "PerchunPak", 313 + "repo": "nixpkgs", 314 + "rev": "46e297cf987ef4fb1eb3b4eac1f978a4c2b80316", 315 + "type": "github" 316 + }, 317 + "original": { 318 + "owner": "PerchunPak", 319 + "repo": "nixpkgs", 320 + "rev": "46e297cf987ef4fb1eb3b4eac1f978a4c2b80316", 321 + "type": "github" 322 + } 323 + }, 308 324 "nixpkgs-regression": { 309 325 "locked": { 310 326 "lastModified": 1643052045, ··· 345 361 "nixos-generators": "nixos-generators", 346 362 "nixos-hardware": "nixos-hardware", 347 363 "nixpkgs": "nixpkgs_2", 364 + "nixpkgs-bat-extras-pr": "nixpkgs-bat-extras-pr", 348 365 "systems": "systems", 349 366 "vscode-server": "vscode-server", 350 367 "zen-browser": "zen-browser"
+22
flake.nix
··· 55 55 url = "github:Mic92/nix-ld"; 56 56 inputs.nixpkgs.follows = "nixpkgs"; 57 57 }; 58 + 59 + # bat-extras patch - locked to specific commit hash 60 + nixpkgs-bat-extras-pr = { 61 + url = "github:PerchunPak/nixpkgs/46e297cf987ef4fb1eb3b4eac1f978a4c2b80316"; 62 + }; 58 63 }; 59 64 60 65 outputs = ··· 71 76 nixos-generators, 72 77 lib, 73 78 zen-browser, 79 + nixpkgs-bat-extras-pr, 74 80 }: 75 81 { 76 82 nixosConfigurations = { ··· 115 121 # one-liners? 116 122 { programs.nix-ld.dev.enable = true; } 117 123 ./shared/vscode/server.nix 124 + 125 + # Override bat-extras with the patched version 126 + { 127 + nixpkgs.overlays = [ 128 + (final: prev: { 129 + bat-extras = nixpkgs-bat-extras-pr.legacyPackages.${prev.system}.bat-extras; 130 + }) 131 + ]; 132 + } 118 133 ]; 119 134 120 135 specialArgs = { ··· 175 190 { 176 191 home.username = "ajhalili2006"; 177 192 home.homeDirectory = "/home/ajhalili2006"; 193 + 194 + # Apply the same overlay for standalone home-manager 195 + nixpkgs.overlays = [ 196 + (final: prev: { 197 + bat-extras = nixpkgs-bat-extras-pr.legacyPackages.${prev.system}.bat-extras; 198 + }) 199 + ]; 178 200 } 179 201 ]; 180 202 };