nix all the things
1{ self, inputs, ... }:
2{
3 imports = [ inputs.easy-hosts.flakeModule ];
4
5 config.easy-hosts = {
6 shared = {
7 modules = [
8 ../modules/core.nix
9 { nixpkgs.overlays = [ self.overlays.default ]; }
10 ];
11
12 specialArgs = { inherit inputs self; };
13 };
14
15 additionalClasses = {
16 desktop = "nixos";
17 server = "nixos";
18 wsl = "nixos";
19 };
20
21 perClass = class: { modules = [ ../modules/${class}/default.nix ]; };
22
23 perTag = tag: { modules = [ ../modules/tags/${tag}.nix ]; };
24
25 hosts = {
26 kiwi = {
27 class = "desktop";
28 tags = [ "work" ];
29 };
30
31 ozen = {
32 class = "wsl";
33 };
34
35 reg = {
36 class = "server";
37 };
38
39 belaf = {
40 class = "desktop";
41 tags = [ "secureboot" ];
42 };
43
44 wakuna = {
45 arch = "aarch64";
46 class = "server";
47 };
48 };
49 };
50}