From cc43c758c5515287607b9c969e64a26c6abd1935 Mon Sep 17 00:00:00 2001 From: Christoph Urlacher Date: Sat, 15 Nov 2025 01:11:45 +0100 Subject: [PATCH] Flake: Add niri to commonModules --- flake.nix | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/flake.nix b/flake.nix index 279bedc6..618c9c71 100644 --- a/flake.nix +++ b/flake.nix @@ -200,6 +200,10 @@ inputs.sops-nix.nixosModules.sops inputs.impermanence.nixosModules.impermanence inputs.lanzaboote.nixosModules.lanzaboote + + # We need the niri module also on the headless hosts + # so nix can parse the config (although it is disabled...) + inputs.niri.nixosModules.niri # This also imports the HM module ]; in { # Local shell for NixFlake directory @@ -227,7 +231,6 @@ extraModules = [ inputs.disko.nixosModules.disko - inputs.niri.nixosModules.niri # This also imports the HM module ] ++ commonModules; }; @@ -236,11 +239,7 @@ hostname = "nixtop"; username = "christoph"; headless = false; - extraModules = - [ - inputs.niri.nixosModules.niri - ] - ++ commonModules; + extraModules = [] ++ commonModules; }; servenix = mylib.nixos.mkNixosConfigWithHomeManagerModule { inherit system mylib publicKeys;