about summary refs log tree commit diff
path: root/hosts/configuration.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/configuration.nix')
-rw-r--r--hosts/configuration.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/hosts/configuration.nix b/hosts/configuration.nix
index ce2a577..6ce152e 100644
--- a/hosts/configuration.nix
+++ b/hosts/configuration.nix
@@ -1,4 +1,4 @@
-{ secrets, dotfiles, lib, pkgs, config, hostname, inputs, user, timezone, ... }: {
+{ secrets, dotfiles, lib, pkgs, config, hostname, inputs, user, timezone, system, ... }: {
 
   imports = [
     "${inputs.impermanence}/nixos.nix"
@@ -108,6 +108,8 @@
 
   environment.defaultPackages = [ ];
 
+  environment.etc."nix-index/files".source = inputs.nix-index.legacyPackages.${system}.database;
+
   # Some programs need SUID wrappers, can be configured further or are
   # started in user sessions.
   # programs.mtr.enable = true;