feat: broken nix-index-database

This commit is contained in:
Kyle Brown 2023-11-06 20:20:01 -08:00
parent 3a0ac75608
commit 90775302b1
4 changed files with 32 additions and 3 deletions

View file

@ -69,6 +69,5 @@ in {
};
})
];
system.stateVersion = 4;
}

21
flake.lock generated
View file

@ -318,6 +318,26 @@
"type": "github"
}
},
"nix-index-database": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1699156599,
"narHash": "sha256-Qk9ZE/pG9lNIGUVNArJxL0Hc0Soa92eQPPIhcDwWinU=",
"owner": "Mic92",
"repo": "nix-index-database",
"rev": "5388a4002179d6778d212dc2fdcc7ac3fdbd5b65",
"type": "github"
},
"original": {
"owner": "Mic92",
"repo": "nix-index-database",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1699099776,
@ -504,6 +524,7 @@
"emacs": "emacs",
"home-manager": "home-manager",
"hyprland": "hyprland",
"nix-index-database": "nix-index-database",
"nixpkgs": "nixpkgs",
"nixpkgs-unstable": "nixpkgs-unstable",
"nixvim": "nixvim",

View file

@ -43,12 +43,17 @@
url = "github:cachix/pre-commit-hooks.nix";
inputs.nixpkgs.follows = "nixpkgs";
};
nix-index-database = {
url = "github:Mic92/nix-index-database";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = {
self,
nixpkgs,
home-manager,
nix-index-database,
...
} @ inputs: let
inherit (self) outputs;
@ -69,7 +74,9 @@
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
}
nix-index-database.hmModules.nix-index
];
programs.nix-index-database.comma.enable = true;
specialArgs = {inherit inputs outputs home-manager;};
};

View file

@ -2,6 +2,9 @@
config,
lib,
pkgs,
inputs,
outputs,
nix-index-database,
...
}: {
home.packages = with pkgs;
@ -37,7 +40,7 @@
mkvtoolnix # the only container that matters
hyperfine # benchmark
neofetch # Check what system I'm on
comma # run things without installing them
# comma # run things without installing them
screen # multiplexer
# vcs
@ -193,6 +196,5 @@
";
settings = {ignorecase = true;};
};
nixpkgs.config.allowUnfree = true;
}