From 32b7a34b6fa3edefff00cb438ca5aae4ff616b7e Mon Sep 17 00:00:00 2001 From: Victor Mignot Date: Sat, 3 Aug 2024 22:36:48 +0200 Subject: [PATCH] Restrict Lix to x86 machines --- flake.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 094c08c..b2804d7 100644 --- a/flake.nix +++ b/flake.nix @@ -65,7 +65,9 @@ { ... }: { imports = [ - lixModules.${config.nixpkgs}.nixosModules.default + ( + if (config.system == "x86_64-linux") then lixModules.${config.nixpkgs}.nixosModules.default else { } + ) ./configurations/${name} (if config.enableHomeManager then home-manager.nixosModules.home-manager else { }) (if (config.system == "x86_64-linux") then lanzaboote.nixosModules.lanzaboote else { })