From 6d9f3007c8e26c152b3f3fe0745cdc6363ae9661 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Mon, 25 Dec 2023 20:03:22 +0800 Subject: [PATCH] config: update default host config --- flake.nix | 1 + setups/nixos.nix | 5 ++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index 98070011..1b1a63bc 100644 --- a/flake.nix +++ b/flake.nix @@ -140,6 +140,7 @@ # declarative host config so be sure to check out # `hostSpecificModule` function as well as the declarative host setup. ++ [ + inputs.nix-index-database.nixosModules.nix-index inputs.sops-nix.nixosModules.sops inputs.disko.nixosModules.disko ]; diff --git a/setups/nixos.nix b/setups/nixos.nix index cd4e94c9..70902f6f 100644 --- a/setups/nixos.nix +++ b/setups/nixos.nix @@ -39,9 +39,8 @@ format = null; modules = [ inputs.nur.nixosModules.nur - inputs.nix-index-database.nixosModules.nix-index - { + ({ config, ... }: { nixpkgs.overlays = [ # Neovim nightly! inputs.neovim-nightly-overlay.overlays.default @@ -55,7 +54,7 @@ # Access to NUR. inputs.nur.overlay ]; - } + }) ]; };