nix index things
This commit is contained in:
parent
7aee282c36
commit
86c6c706a5
3 changed files with 9 additions and 7 deletions
|
|
@ -12,6 +12,7 @@
|
|||
./home.nix
|
||||
./i18n.nix
|
||||
# ./minegrub.nix
|
||||
./nix-index.nix
|
||||
./nix-settings.nix
|
||||
./remote-builds.nix
|
||||
./secrets.nix
|
||||
|
|
|
|||
8
modules/nix-index.nix
Normal file
8
modules/nix-index.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{}: {
|
||||
imports = [
|
||||
inputs.nix-index-database.nixosModules.nix-index
|
||||
];
|
||||
programs.nix-index-database.comma.enable = true;
|
||||
programs.command-not-found.enable = false; # TODO fix ts
|
||||
|
||||
}
|
||||
|
|
@ -4,10 +4,6 @@
|
|||
...
|
||||
}:
|
||||
{
|
||||
imports = [
|
||||
inputs.nix-index-database.nixosModules.nix-index
|
||||
];
|
||||
programs.nix-index-database.comma.enable = true;
|
||||
# Allow unfree packages
|
||||
nixpkgs.config.allowUnfreePredicate =
|
||||
pkg:
|
||||
|
|
@ -77,8 +73,5 @@
|
|||
|
||||
# nix.nixPath = ["nixpkgs=${pkgs.path}"];
|
||||
|
||||
# disable the database error TODO add nix-index search
|
||||
# programs.command-not-found.enable = false; # TODO fix ts
|
||||
|
||||
system.configurationRevision = inputs.self.rev or "dirty";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue