Restrict Lix to x86 machines

This commit is contained in:
Victor Mignot 2024-08-03 22:36:48 +02:00
parent 75f0cb6112
commit 32b7a34b6f
Signed by: dala
GPG key ID: 5E7F2CE1BEAFED3D

View file

@ -65,7 +65,9 @@
{ ... }: { ... }:
{ {
imports = [ imports = [
lixModules.${config.nixpkgs}.nixosModules.default (
if (config.system == "x86_64-linux") then lixModules.${config.nixpkgs}.nixosModules.default else { }
)
./configurations/${name} ./configurations/${name}
(if config.enableHomeManager then home-manager.nixosModules.home-manager else { }) (if config.enableHomeManager then home-manager.nixosModules.home-manager else { })
(if (config.system == "x86_64-linux") then lanzaboote.nixosModules.lanzaboote else { }) (if (config.system == "x86_64-linux") then lanzaboote.nixosModules.lanzaboote else { })