about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2022-06-28 12:05:52 +0200
committerBaitinq <manuelpalenzuelamerino@gmail.com>2022-06-28 12:05:52 +0200
commit85c1b8e25e851a25d6f8c5107e071a13021f12c6 (patch)
treed9ee984c33dd067406106ae0adc6cedca7bd4c32
parentLuna: Fix power key script launching (sxhkd) (diff)
downloadnixos-config-85c1b8e25e851a25d6f8c5107e071a13021f12c6.tar.gz
nixos-config-85c1b8e25e851a25d6f8c5107e071a13021f12c6.tar.bz2
nixos-config-85c1b8e25e851a25d6f8c5107e071a13021f12c6.zip
Move nix-index database to /etc/nix-index
-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;
+
 }