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
|
./home.nix
|
||||||
./i18n.nix
|
./i18n.nix
|
||||||
# ./minegrub.nix
|
# ./minegrub.nix
|
||||||
|
./nix-index.nix
|
||||||
./nix-settings.nix
|
./nix-settings.nix
|
||||||
./remote-builds.nix
|
./remote-builds.nix
|
||||||
./secrets.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
|
# Allow unfree packages
|
||||||
nixpkgs.config.allowUnfreePredicate =
|
nixpkgs.config.allowUnfreePredicate =
|
||||||
pkg:
|
pkg:
|
||||||
|
|
@ -77,8 +73,5 @@
|
||||||
|
|
||||||
# nix.nixPath = ["nixpkgs=${pkgs.path}"];
|
# 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";
|
system.configurationRevision = inputs.self.rev or "dirty";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue