summaryrefslogtreecommitdiff
path: root/systems/default.nix
blob: 881310b8d238c9960ed7daa40f3da670228df88b (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,
  ...
}: {
  flake = {
    darwinConfigurations = let
      inherit (self.lib) darwinSystem;
    in {
      caroline = darwinSystem {
        modules = [./caroline];
      };
    };

    nixosConfigurations = let
      inherit (self.lib) nixosSystem nixosSystemStable;
    in {
      glados = nixosSystem {
        modules = [./glados];
      };

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

      atlas = nixosSystemStable {
        modules = [./atlas];
      };
    };
  };

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