summaryrefslogtreecommitdiff
path: root/systems/default.nix
blob: 22adae8df4e16a109ffcec6557aa1a242589f064 (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
37
38
39
40
41
42
43
44
45
46
47
{
  inputs,
  self,
  ...
}: {
  configurations = {
    nixos = {
      builder = inputs.nixpkgs.lib.nixosSystem;

      modules = with inputs; [
        agenix.nixosModules.default
        home-manager.nixosModules.home-manager
      ];

      systems = {
        glados = {};

        glados-wsl = {};

        atlas = {
          builder = inputs.nixpkgs-stable.lib.nixosSystem;
          system = "aarch64-linux";
        };
      };
    };

    darwin = {
      builder = inputs.darwin.lib.darwinSystem;

      modules = [
        inputs.home-manager.darwinModules.home-manager
      ];

      systems = {
        caroline = {};
      };
    };
  };

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