Skip to content

Commit

Permalink
configure nix-index-database
Browse files Browse the repository at this point in the history
  • Loading branch information
elohmeier committed Jun 26, 2024
1 parent be239d2 commit ba19649
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 9 deletions.
27 changes: 24 additions & 3 deletions flake.lock

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

2 changes: 2 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@
url = "github:elohmeier/nixcfg";
inputs.nixpkgs.follows = "nixpkgs";
};
nix-index-database.url = "github:nix-community/nix-index-database";
nix-index-database.inputs.nixpkgs.follows = "nixpkgs";
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
nixpkgs-rpi4.url = "github:elohmeier/nixpkgs/2bd04c7d2efbd5c7ce1d626baaa6303eb578dc27";
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
Expand Down
3 changes: 2 additions & 1 deletion modules/home/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@
};

modules = [
# self.homeModules.paperless
inputs.nix-index-database.hmModules.nix-index
self.homeModules.borgbackup
self.homeModules.darwin-defaults
self.homeModules.fish
Expand All @@ -51,7 +53,6 @@
self.homeModules.macos-enno
self.homeModules.neovim
self.homeModules.packages
# self.homeModules.paperless
self.homeModules.ssh
self.homeModules.tmux
self.homeModules.xdg-fixes
Expand Down
5 changes: 1 addition & 4 deletions modules/home/macos-enno.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,7 @@
stateVersion = "21.11";
};

# TODO: needed?
# nixpkgs.config = {
# allowUnfreePredicate = _pkg: true; # https://github.com/nix-community/home-manager/issues/2942
# };
programs.nix-index-database.comma.enable = true;

services.syncthing.enable = true;

Expand Down
1 change: 0 additions & 1 deletion modules/home/packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ in
mupdf
ncdu_1
nil
nix-index
nix-prefetch-git
nix-prefetch-github
nix-top
Expand Down

0 comments on commit ba19649

Please sign in to comment.