summaryrefslogtreecommitdiff
path: root/systems/default.nix
blob: f708430938314e0f7040e1611ae6cd45685e4089 (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
36
{
  inputs,
  self,
  ...
}: let
  nixos-stable = inputs.nixpkgs-stable.lib.nixosSystem;
in {
  nixosConfigurations = {
    glados = {
      system = "x86_64-linux";
    };

    glados-wsl = {
      system = "x86_64-linux";
    };

    atlas = {
      builder = nixos-stable;
      system = "aarch64-linux";
    };
  };

  darwinConfigurations = {
    caroline = {
      system = "x86_64-darwin";
    };
  };

  deploy = {
    remoteBuild = true;
    fastConnection = false;
    nodes = self.lib.deploy.mapNodes [
      "atlas"
    ];
  };
}