aboutsummaryrefslogtreecommitdiff
path: root/systems/zoldene/flake.nix
blob: 42466e81e8bf35b0714fa1c43ecc545436bc9bcc (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
{
  inputs = {
    nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
    impermanence.url = "github:nix-community/impermanence/master";
    my-lib.url = "path:../../flakes/lib";
    public-secrets.url = "path:../../flakes/secrets";
    private-environment.url = "path:../../flakes/private/environment";
    private-system.url = "path:../../flakes/private/system";
  };
  outputs = inputs@{ self, nixpkgs, my-lib, ... }:
    my-lib.lib.mkColmenaFlake {
      name = "zoldene";
      inherit self nixpkgs;
      system = "x86_64-linux";
      targetHost = "88.198.39.152";
      targetUser = "root";
      nixosModules = with inputs; {
        impermanence = impermanence.nixosModule;
        base = ./base.nix;
        disko = ./disko.nix;
        logging = ./logging.nix;

        secrets = public-secrets.nixosModule;

        environment = private-environment.nixosModule;
        system = private-system.nixosModule;
      };
    };
}