this repo has no description
0
fork

Configure Feed

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

chore: back to `nix-index-database`

+25 -43
+21 -23
flake.lock
··· 43 43 "type": "github" 44 44 } 45 45 }, 46 - "nbi": { 47 - "inputs": { 48 - "nixpkgs": [ 49 - "nixpkgs" 50 - ], 51 - "nixpkgs-stable": [], 52 - "nixpkgs-unstable": [] 53 - }, 54 - "locked": { 55 - "lastModified": 1770084009, 56 - "narHash": "sha256-JmMNAHg0uX5EG9y/oGgWbfdtVRuWkm/A6jJ74zlfIlo=", 57 - "owner": "highorderlogic", 58 - "repo": "nbi", 59 - "rev": "e664f2a34e6308c94e1ad03466a30dd0345c9bb9", 60 - "type": "github" 61 - }, 62 - "original": { 63 - "owner": "highorderlogic", 64 - "repo": "nbi", 65 - "type": "github" 66 - } 67 - }, 68 46 "nix-flatpak": { 69 47 "locked": { 70 48 "lastModified": 1768656715, ··· 77 55 "original": { 78 56 "owner": "gmodena", 79 57 "repo": "nix-flatpak", 58 + "type": "github" 59 + } 60 + }, 61 + "nix-index-db": { 62 + "inputs": { 63 + "nixpkgs": [ 64 + "nixpkgs" 65 + ] 66 + }, 67 + "locked": { 68 + "lastModified": 1770315571, 69 + "narHash": "sha256-hy0gcAgAcxrnSWKGuNO+Ob0x6jQ2xkR6hoaR0qJBHYs=", 70 + "owner": "nix-community", 71 + "repo": "nix-index-database", 72 + "rev": "2684bb8080a6f2ca5f9d494de5ef875bc1c4ecdb", 73 + "type": "github" 74 + }, 75 + "original": { 76 + "owner": "nix-community", 77 + "repo": "nix-index-database", 80 78 "type": "github" 81 79 } 82 80 }, ··· 121 119 "inputs": { 122 120 "helix": "helix", 123 121 "hjem": "hjem", 124 - "nbi": "nbi", 125 122 "nix-flatpak": "nix-flatpak", 123 + "nix-index-db": "nix-index-db", 126 124 "nixos-wsl": "nixos-wsl", 127 125 "nixpkgs": "nixpkgs", 128 126 "tuigreet": "tuigreet"
+3 -7
flake.nix
··· 10 10 }; 11 11 }; 12 12 nix-flatpak.url = "github:gmodena/nix-flatpak"; 13 - nbi = { 14 - url = "github:highorderlogic/nbi"; 15 - inputs = { 16 - nixpkgs.follows = "nixpkgs"; 17 - nixpkgs-stable.follows = ""; 18 - nixpkgs-unstable.follows = ""; 19 - }; 13 + nix-index-db = { 14 + url = "github:nix-community/nix-index-database"; 15 + inputs.nixpkgs.follows = "nixpkgs"; 20 16 }; 21 17 nixos-wsl = { 22 18 url = "github:nix-community/nixos-wsl";
+1 -13
modules/core/user/default.nix
··· 6 6 ... 7 7 }: let 8 8 inherit (config.cfg.core) username; 9 - 10 - inherit (pkgs) comma; 11 - commaWrapped = pkgs.symlinkJoin { 12 - name = "${lib.getName comma}-wrapped"; 13 - paths = [comma]; 14 - nativeBuildInputs = [pkgs.makeBinaryWrapper]; 15 - postBuild = '' 16 - for cmd in "," "comma"; do 17 - wrapProgram "$out/bin/$cmd" --set NIX_INDEX_DATABASE ${inputs.nbi.packages.${pkgs.stdenv.hostPlatform.system}.unstable} 18 - done 19 - ''; 20 - }; 21 9 in { 22 10 options.cfg.core.username = lib.mkOption { 23 11 type = lib.types.str; ··· 34 22 enable = true; 35 23 user = username; 36 24 packages = builtins.attrValues { 37 - inherit commaWrapped; 38 25 inherit (pkgs) bat eza msedit; 26 + inherit (inputs.nix-index-db.packages.${pkgs.stdenv.hostPlatform.system}) comma-with-db; 39 27 }; 40 28 environment.sessionVariables = { 41 29 EDITOR = lib.mkDefault "edit";