2022-02-05 21:42:36 +02:00
|
|
|
inputs:
|
|
|
|
with builtins;
|
|
|
|
let
|
|
|
|
aspects = [
|
|
|
|
./autopatch
|
2022-06-14 22:17:15 +03:00
|
|
|
./brig
|
2022-02-05 21:42:36 +02:00
|
|
|
./desktop
|
|
|
|
./firewall
|
|
|
|
./games
|
|
|
|
./hardened
|
|
|
|
./hyprspace
|
2023-06-17 10:30:47 +03:00
|
|
|
./idm
|
2022-11-13 03:12:44 +02:00
|
|
|
./ipfs
|
2022-02-05 21:42:36 +02:00
|
|
|
./jackett
|
|
|
|
./laptop-config
|
|
|
|
./lidarr
|
|
|
|
./networking-client
|
|
|
|
./nextcloud-client
|
|
|
|
./nix-builder
|
|
|
|
./nix-config
|
|
|
|
./nix-register-flakes
|
|
|
|
./nm-vdns-auto
|
|
|
|
./persistence
|
|
|
|
./prowlarr
|
|
|
|
./shell-config
|
|
|
|
./sound
|
|
|
|
./ssh
|
|
|
|
];
|
|
|
|
mappedAspects = map (x: { name = baseNameOf x; value = import x; }) aspects;
|
|
|
|
in rec {
|
|
|
|
modules = listToAttrs mappedAspects;
|
|
|
|
sets = with modules; rec {
|
|
|
|
base = [
|
|
|
|
autopatch
|
|
|
|
hardened
|
2023-06-17 10:30:47 +03:00
|
|
|
idm
|
2022-02-05 21:42:36 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
networking = [ firewall ssh ];
|
|
|
|
|
2022-11-13 03:12:44 +02:00
|
|
|
client-networking = networking ++ [ networking-client nm-vdns-auto ipfs hyprspace ];
|
2022-02-05 21:42:36 +02:00
|
|
|
|
|
|
|
desktop = [
|
|
|
|
modules.desktop
|
|
|
|
inputs.home-manager.nixosModules.home-manager
|
2022-06-14 22:17:15 +03:00
|
|
|
brig
|
2022-02-05 21:42:36 +02:00
|
|
|
nextcloud-client
|
|
|
|
nix-register-flakes
|
|
|
|
nix-config
|
|
|
|
shell-config
|
|
|
|
sound
|
|
|
|
] ++ base ++ client-networking;
|
|
|
|
|
|
|
|
laptop = desktop ++ [ laptop-config ];
|
|
|
|
};
|
|
|
|
}
|