parts.nix (1022B)
1 # modules/parts.nix — flake-parts wiring shared by every module under modules/. 2 { inputs, ... }: 3 { 4 # aarch64-linux is here for the generic host (modules/hosts/generic) on ARM: 5 # it needs the wrapped niri/noctalia packages built for that system. 6 systems = [ "x86_64-linux" "aarch64-linux" ]; 7 8 # aarch64 is here only for the generic host's desktop packages (niri, 9 # noctalia, gradia). The checks are the toolkit's x86_64 test suite — VM 10 # tests, and smoke tests of tools such as neo4j and aapt that only exist for 11 # x86_64 — and so are the dev shells; on aarch64 they would only fail 12 # `nix flake check --all-systems`. They stay x86_64-only. 13 perSystem = 14 { system, lib, ... }: 15 lib.mkIf (system == "aarch64-linux") { 16 checks = lib.mkForce { }; 17 devShells = lib.mkForce { }; 18 }; 19 imports = [ 20 inputs.home-manager.flakeModules.home-manager # flake.homeModules / flake.homeConfigurations 21 inputs.wrapper-modules.flakeModules.default # flake.wrappers, perSystem.wrappers 22 ]; 23 }