From db0633d5d39a00354e2a58a3dbcea350517c4371 Mon Sep 17 00:00:00 2001 From: Baitinq Date: Wed, 21 Sep 2022 19:23:00 +0200 Subject: Misc: Move nix-index symlink to global configuration --- hosts/configuration.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'hosts/configuration.nix') diff --git a/hosts/configuration.nix b/hosts/configuration.nix index ce2a577..6ce152e 100644 --- a/hosts/configuration.nix +++ b/hosts/configuration.nix @@ -1,4 +1,4 @@ -{ secrets, dotfiles, lib, pkgs, config, hostname, inputs, user, timezone, ... }: { +{ secrets, dotfiles, lib, pkgs, config, hostname, inputs, user, timezone, system, ... }: { imports = [ "${inputs.impermanence}/nixos.nix" @@ -108,6 +108,8 @@ environment.defaultPackages = [ ]; + environment.etc."nix-index/files".source = inputs.nix-index.legacyPackages.${system}.database; + # Some programs need SUID wrappers, can be configured further or are # started in user sessions. # programs.mtr.enable = true; -- cgit 1.4.1