about summary refs log tree commit diff
path: root/hosts/phobos
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 /hosts/phobos
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
Diffstat (limited to 'hosts/phobos')
-rw-r--r--hosts/phobos/default.nix3
-rw-r--r--hosts/phobos/home.nix1
2 files changed, 3 insertions, 1 deletions
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;
 }