aboutsummaryrefslogtreecommitdiffstats
path: root/flake.nix
blob: 29319dee843f9bbd9c2dd0ff7b6d6416962b523b (plain) (blame)
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
{
  outputs = { ... }: let
    inputs = import ./.tack {};
    mkSystem = import ./lib/mksystem.nix inputs;
  in {
    nixosConfigurations = {
      mercury = mkSystem "mercury" {
        system = "x86_64-linux";
        profile = "nixos";
        user = "hanna";
      };
    };

    darwinConfigurations = {
      carbon = mkSystem "carbon" {
        system = "aarch64-darwin";
        profile = "darwin";
        user = "hanna";
      };
    };

    templates = {
      default = {
        path = ./tmpl/default;
        description = "Basic flake setup with flake-parts";
        welcomeText = "Just add anything you need and go.";
      };
    };
  };
}