aboutsummaryrefslogtreecommitdiff
path: root/nixos/default.nix
blob: 90d6b3a2242ba005c62c0c1946bb9009bc2174d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
self: let
  machines = import ./machine self;
  modules = import ./modules self;
  routers = import ./routers;
in
  modules
  // machines
  // {
    default = {
      imports = with self.inputs;
        [
          shellrc.nixosModules.default
          usbkey.nixosModules.default
          nixbigclown.nixosModules.default
        ]
        ++ builtins.attrValues modules;
    };
    defaultRouters = {imports = builtins.attrValues routers;};
  }