summaryrefslogtreecommitdiff
path: root/systems/default.nix
blob: 33736e6f3ea283919d79fbc014d4281cfb6935c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
  inputs,
  self,
  ...
}: {
  configurations = {
    darwin = {
      caroline = {
        modules = [./caroline];
      };
    };

    nixos = let
      stable = inputs.nixpkgs-stable.lib.nixosSystem;
    in {
      glados = {
        modules = [./glados];
      };

      glados-wsl = {
        modules = [./glados-wsl];
      };

      atlas = {
        builder = stable;
        modules = [./atlas];
        system = "aarch64-linux";
      };
    };
  };

  perSystem = {system, ...}: {
    apps = (inputs.nixinate.nixinate.${system} self).nixinate;
  };
}