me like nix
1{ lib, ... }: {
2 config.systems = [
3 "x86_64-linux"
4 "aarch64-linux"
5 ];
6
7 # Declare flake.modules option so aspect files can merge their contributions
8 options.flake.modules = {
9 nixos = lib.mkOption {
10 type = lib.types.attrsOf lib.types.raw;
11 default = { };
12 description = "NixOS modules keyed by aspect name";
13 };
14 homeManager = lib.mkOption {
15 type = lib.types.attrsOf lib.types.raw;
16 default = { };
17 description = "Home Manager modules keyed by aspect name";
18 };
19 };
20}