Personal Nix setup
0
fork

Configure Feed

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

Replace lix flake with nixpkgs version

+13 -64
-53
flake.lock
··· 277 277 "type": "github" 278 278 } 279 279 }, 280 - "flakey-profile": { 281 - "locked": { 282 - "lastModified": 1712898590, 283 - "narHash": "sha256-FhGIEU93VHAChKEXx905TSiPZKga69bWl1VB37FK//I=", 284 - "owner": "lf-", 285 - "repo": "flakey-profile", 286 - "rev": "243c903fd8eadc0f63d205665a92d4df91d42d9d", 287 - "type": "github" 288 - }, 289 - "original": { 290 - "owner": "lf-", 291 - "repo": "flakey-profile", 292 - "type": "github" 293 - } 294 - }, 295 280 "gitignore": { 296 281 "inputs": { 297 282 "nixpkgs": [ ··· 430 415 "owner": "tamago324", 431 416 "repo": "lir.nvim", 432 417 "type": "github" 433 - } 434 - }, 435 - "lix": { 436 - "flake": false, 437 - "locked": { 438 - "lastModified": 1746827285, 439 - "narHash": "sha256-hsFe4Tsqqg4l+FfQWphDtjC79WzNCZbEFhHI8j2KJzw=", 440 - "rev": "47aad376c87e2e65967f17099277428e4b3f8e5a", 441 - "type": "tarball", 442 - "url": "https://git.lix.systems/api/v1/repos/lix-project/lix/archive/47aad376c87e2e65967f17099277428e4b3f8e5a.tar.gz?rev=47aad376c87e2e65967f17099277428e4b3f8e5a" 443 - }, 444 - "original": { 445 - "type": "tarball", 446 - "url": "https://git.lix.systems/lix-project/lix/archive/2.93.0.tar.gz" 447 - } 448 - }, 449 - "lix-module": { 450 - "inputs": { 451 - "flake-utils": [ 452 - "flake-utils" 453 - ], 454 - "flakey-profile": "flakey-profile", 455 - "lix": "lix", 456 - "nixpkgs": [ 457 - "nixpkgs" 458 - ] 459 - }, 460 - "locked": { 461 - "lastModified": 1746838955, 462 - "narHash": "sha256-11R4K3iAx4tLXjUs+hQ5K90JwDABD/XHhsM9nkeS5N8=", 463 - "rev": "cd2a9c028df820a83ca2807dc6c6e7abc3dfa7fc", 464 - "type": "tarball", 465 - "url": "https://git.lix.systems/api/v1/repos/lix-project/nixos-module/archive/cd2a9c028df820a83ca2807dc6c6e7abc3dfa7fc.tar.gz?rev=cd2a9c028df820a83ca2807dc6c6e7abc3dfa7fc" 466 - }, 467 - "original": { 468 - "type": "tarball", 469 - "url": "https://git.lix.systems/lix-project/nixos-module/archive/2.93.0.tar.gz" 470 418 } 471 419 }, 472 420 "lspkind-nvim": { ··· 845 793 "home-manager": "home-manager", 846 794 "language-servers": "language-servers", 847 795 "lanzaboote": "lanzaboote", 848 - "lix-module": "lix-module", 849 796 "nixos-hardware": "nixos-hardware", 850 797 "nixpkgs": "nixpkgs", 851 798 "nvim-plugins": "nvim-plugins",
+3 -10
flake.nix
··· 7 7 nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable"; 8 8 nixos-hardware.url = "github:NixOS/nixos-hardware/master"; 9 9 10 - lix-module = { 11 - url = "https://git.lix.systems/lix-project/nixos-module/archive/2.93.0.tar.gz"; 12 - inputs = { 13 - nixpkgs.follows = "nixpkgs"; 14 - flake-utils.follows = "flake-utils"; 15 - }; 16 - }; 17 - 18 10 apple-silicon = { 19 11 url = "github:kitten/nixos-apple-silicon/edge"; 20 12 inputs.nixpkgs.follows = "nixpkgs"; ··· 98 90 eachSystem = lib.genAttrs ["aarch64-darwin" "aarch64-linux" "x86_64-darwin" "x86_64-linux"]; 99 91 overlays = [ 100 92 self.overlays.default 101 - inputs.lix-module.overlays.default 93 + self.overlays.lix 102 94 inputs.nvim-plugins.overlays.default 103 95 inputs.android-sdk.overlays.default 104 96 inputs.language-servers.overlays.default ··· 146 138 147 139 overlays = { 148 140 default = import ./lib/pkgs; 141 + lix = import ./lib/lix-overlay.nix; 149 142 }; 150 143 151 144 packages = eachSystem (system: let 152 145 pkgs = import inputs.nixpkgs { 153 146 inherit system; 154 - overlays = [ self.overlays.default ]; 147 + overlays = [ self.overlays.default self.overlays.lix ]; 155 148 }; 156 149 in { 157 150 inherit (inputs.agenix.packages.${system}) agenix;
+9
lib/lix-overlay.nix
··· 1 + self: super: 2 + 3 + let 4 + lixPackageSets = self.lixPackageSets.override { 5 + inherit (super) nix-direnv nix-fast-build; 6 + }; 7 + in { 8 + inherit (lixPackageSets.latest) lix nix-direnv nix-eval-jobs nix-fast-build; 9 + }
+1 -1
modules/base/nix-config.nix
··· 5 5 age.secrets."nix-access-tokens.conf".file = ./encrypt/nix-access-tokens.conf.age; 6 6 7 7 nix = { 8 - package = pkgs.nix; 8 + package = pkgs.lix; 9 9 channel.enable = mkForce false; 10 10 11 11 # make flake registry and nix path match flake inputs