Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@
url = "github:cachix/git-hooks.nix";
inputs.nixpkgs.follows = "nixpkgs";
};
nix-index-database = {
url = "github:nix-community/nix-index-database";
inputs.nixpkgs.follows = "nixpkgs";
};
nixos-hardware.url = "github:NixOS/nixos-hardware";

# Linux
Expand Down
2 changes: 2 additions & 0 deletions lib/hosts.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ inputs @ {
homebrew-core,
homebrew-cask,
llm-profile,
nix-index-database,
zx-dev,
disko,
golink,
Expand All @@ -35,6 +36,7 @@ inputs @ {
home-manager.users.${username} = {...}: {
imports =
[
nix-index-database.hmModules.nix-index
agenix.homeManagerModules.default
./../modules/home
./../home
Expand Down
6 changes: 5 additions & 1 deletion modules/home/utilities.nix
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,13 @@ in {
})

(mkIf cfg.nix.enable {
programs.nix-index = {
enable = true;
};
programs.nix-index-database.comma.enable = true;

home.packages =
[
pkgs.comma
pkgs.manix
pkgs.nix-du
pkgs.nix-tree
Expand Down