old
1{
2 # NOTE: the args not used in this file CAN NOT be removed!
3 # because haumea pass argument lazily,
4 # and these arguments are used in the functions `mylib.nixosSystem`.
5 inputs,
6 lib,
7 myvars,
8 mylib,
9 system,
10 genSpecialArgs,
11 ...
12} @ args: let
13 # Kevin - Codename "Deliverance", 1st of Flame-Chasers
14 name = "kevin";
15 base-modules = {
16 nixos-modules = map mylib.relativeToRoot [
17 # common
18 "secrets/nixos.nix"
19 "modules/nixos/desktop.nix"
20 "options/nixos/default.nix"
21 "hosts/general.nix"
22 # host specific
23 "hosts/chaser-${name}"
24 ];
25 home-modules = map mylib.relativeToRoot [
26 # common
27 "home/linux/gui.nix"
28 "options/home/default.nix"
29 # host specific
30 "hosts/chaser-${name}/home.nix"
31 ];
32 };
33in {
34 nixosConfigurations = {
35 "${name}" = mylib.nixosSystem (base-modules // args);
36 };
37}