diff options
author | Baitinq <manuelpalenzuelamerino@gmail.com> | 2022-06-26 16:47:52 +0200 |
---|---|---|
committer | Baitinq <manuelpalenzuelamerino@gmail.com> | 2022-06-26 17:06:29 +0200 |
commit | 45560caab2bd45b65d234139ad73f4cea304462c (patch) | |
tree | 7c392fc45d7de167bb7ee49433fbdcd9665a151d /hosts | |
parent | Fix light requiring root permissions (diff) | |
download | nixos-config-45560caab2bd45b65d234139ad73f4cea304462c.tar.gz nixos-config-45560caab2bd45b65d234139ad73f4cea304462c.tar.bz2 nixos-config-45560caab2bd45b65d234139ad73f4cea304462c.zip |
Add automatically updating prebuilt nix-index and comma
Diffstat (limited to 'hosts')
-rw-r--r-- | hosts/configuration.nix | 1 | ||||
-rw-r--r-- | hosts/home.nix | 2 | ||||
-rw-r--r-- | hosts/luna/home.nix | 2 | ||||
-rw-r--r-- | hosts/phobos/home.nix | 2 |
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; } |