summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2018-01-07 18:57:40 +0100
committerAlan Pearce2018-01-07 18:57:40 +0100
commit4abe538715e30c666643115916b2431a0999a4c8 (patch)
tree98ff62f716300786d3ce6bc67a321c61b7b06f00
parent2cd6b18bb541f1f5a16139fda1e295cb9d7c2136 (diff)
downloadnixos-configuration-4abe538715e30c666643115916b2431a0999a4c8.tar.lz
nixos-configuration-4abe538715e30c666643115916b2431a0999a4c8.tar.zst
nixos-configuration-4abe538715e30c666643115916b2431a0999a4c8.zip
base: Install nix-index to help find packages
-rw-r--r--modules/base.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/base.nix b/modules/base.nix
index ee59c61..9e94a5a 100644
--- a/modules/base.nix
+++ b/modules/base.nix
@@ -2,6 +2,10 @@
 
 { boot.loader.timeout = 1;
 
+  environment.systemPackages = with pkgs; [
+    nix-index
+  ];
+
   networking.extraHosts = ''
     127.0.0.1 ${config.networking.hostName}
     ::1 ${config.networking.hostName}