about summary refs log tree commit diff
path: root/hosts
diff options
context:
space:
mode:
Diffstat (limited to 'hosts')
-rw-r--r--hosts/luna/default.nix2
-rw-r--r--hosts/luna/home.nix1
-rw-r--r--hosts/phobos/default.nix3
-rw-r--r--hosts/phobos/home.nix1
-rw-r--r--hosts/vm/default.nix3
5 files changed, 8 insertions, 2 deletions
diff --git a/hosts/luna/default.nix b/hosts/luna/default.nix
index 5bcd12b..e8c1800 100644
--- a/hosts/luna/default.nix
+++ b/hosts/luna/default.nix
@@ -49,5 +49,7 @@
     xf86_input_cmt #chromebook touchpad drivers
   ];
 
+  environment.etc."nix-index/files".source = inputs.nix-index.legacyPackages.x86_64-linux.database;
+
 }
 
diff --git a/hosts/luna/home.nix b/hosts/luna/home.nix
index c5e64ab..89cec8e 100644
--- a/hosts/luna/home.nix
+++ b/hosts/luna/home.nix
@@ -138,5 +138,4 @@ in
     '';
   };
 
-  home.file.".cache/nix-index/files".source = inputs.nix-index.legacyPackages.x86_64-linux.database;
 }
diff --git a/hosts/phobos/default.nix b/hosts/phobos/default.nix
index 5790b67..de67e9a 100644
--- a/hosts/phobos/default.nix
+++ b/hosts/phobos/default.nix
@@ -28,5 +28,8 @@
     [
 
     ];
+
+  environment.etc."nix-index/files".source = inputs.nix-index.legacyPackages.x86_64-linux.database;
+
 }
 
diff --git a/hosts/phobos/home.nix b/hosts/phobos/home.nix
index 54da2b3..9953a0d 100644
--- a/hosts/phobos/home.nix
+++ b/hosts/phobos/home.nix
@@ -121,5 +121,4 @@ in
     '';
   };
 
-  home.file.".cache/nix-index/files".source = inputs.nix-index.legacyPackages.x86_64-linux.database;
 }
diff --git a/hosts/vm/default.nix b/hosts/vm/default.nix
index f20f8be..5d04b2f 100644
--- a/hosts/vm/default.nix
+++ b/hosts/vm/default.nix
@@ -24,5 +24,8 @@
     [
 
     ];
+
+  environment.etc."nix-index/files".source = inputs.nix-index.legacyPackages.x86_64-linux.database;
+
 }