about summary refs log tree commit diff
path: root/hosts
diff options
context:
space:
mode:
authorBaitinq <[email protected]>2022-06-26 16:47:52 +0200
committerBaitinq <[email protected]>2022-06-26 17:06:29 +0200
commit3249d0e108cc1d27688803099a8b937f360218d3 (patch)
tree01f8ba6bb0319fa5fe77dd76a3bbbb00f0396894 /hosts
parentFix light requiring root permissions (diff)
downloadnixos-config-3249d0e108cc1d27688803099a8b937f360218d3.tar.gz
nixos-config-3249d0e108cc1d27688803099a8b937f360218d3.tar.bz2
nixos-config-3249d0e108cc1d27688803099a8b937f360218d3.zip
Add automatically updating prebuilt nix-index and comma
Diffstat (limited to 'hosts')
-rw-r--r--hosts/configuration.nix1
-rw-r--r--hosts/home.nix2
-rw-r--r--hosts/luna/home.nix2
-rw-r--r--hosts/phobos/home.nix2
4 files changed, 7 insertions, 0 deletions
diff --git a/hosts/configuration.nix b/hosts/configuration.nix
index 345645a..bfe46ac 100644
--- a/hosts/configuration.nix
+++ b/hosts/configuration.nix
@@ -91,6 +91,7 @@
     neovim
     steam-run
     compsize #used to check btrfs space savings
+    comma
   ];
 
   # Some programs need SUID wrappers, can be configured further or are
diff --git a/hosts/home.nix b/hosts/home.nix
index 14ca6ad..4437f48 100644
--- a/hosts/home.nix
+++ b/hosts/home.nix
@@ -3,6 +3,8 @@ let
   dotfiles = ../dotfiles;
 in
 {
+  imports = [ ];
+
   home = {
     username = "${user}";
     homeDirectory = "/home/${user}";
diff --git a/hosts/luna/home.nix b/hosts/luna/home.nix
index ff3c95b..43aecfd 100644
--- a/hosts/luna/home.nix
+++ b/hosts/luna/home.nix
@@ -47,4 +47,6 @@
       hwdec
     '';
   };
+
+  home.file.".cache/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 4e177b3..b56be45 100644
--- a/hosts/phobos/home.nix
+++ b/hosts/phobos/home.nix
@@ -34,4 +34,6 @@
     RIGHT_PADDING=" "
     LEFT_PADDING=" "
   '';
+
+  home.file.".cache/nix-index/files".source = inputs.nix-index.legacyPackages.x86_64-linux.database;
 }