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.

chore(flake): prioritize the patch for builds

Signed-off-by: Andrei Jiroh Halili <ajhalili2006@andreijiroh.dev>

+16 -14
+16 -14
flake.nix
··· 111 111 lairland = nixpkgs.lib.nixosSystem { 112 112 system = "x86_64-linux"; 113 113 modules = [ 114 + # Override bat-extras with the patched version 115 + { 116 + nixpkgs.overlays = [ 117 + (final: prev: { 118 + bat-extras = nixpkgs-bat-extras-pr.legacyPackages.${prev.system}.bat-extras; 119 + }) 120 + ]; 121 + } 122 + 114 123 ./hosts/lairland/configuration.nix 115 124 # load Determinate Nix and the rest 116 125 determinate.nixosModules.default ··· 121 130 # one-liners? 122 131 { programs.nix-ld.dev.enable = true; } 123 132 ./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 - } 133 133 ]; 134 134 135 135 specialArgs = { ··· 186 186 plain = home-manager.lib.homeManagerConfiguration { 187 187 pkgs = nixpkgs.legacyPackages.x86_64-linux; 188 188 modules = [ 189 - ./shared/home-manager/main.nix 189 + # Override bat-extras with the patched version 190 190 { 191 - home.username = "ajhalili2006"; 192 - home.homeDirectory = "/home/ajhalili2006"; 193 - 194 - # Apply the same overlay for standalone home-manager 195 191 nixpkgs.overlays = [ 196 192 (final: prev: { 197 193 bat-extras = nixpkgs-bat-extras-pr.legacyPackages.${prev.system}.bat-extras; 198 194 }) 199 195 ]; 196 + } 197 + 198 + ./shared/home-manager/main.nix 199 + { 200 + home.username = "ajhalili2006"; 201 + home.homeDirectory = "/home/ajhalili2006"; 200 202 } 201 203 ]; 202 204 };