summaryrefslogtreecommitdiffstats
path: root/krebs/3modules/build.nix
blob: bc04345d6aa2b829d9f0b800a57aa72d9301fd0f (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
{ config, ... }:

with config.krebs.lib;

{
  options.krebs.build = {
    # TODO deprecate krebs.build.host
    host = mkOption {
      type = types.host;
    };

    # TODO make krebs.build.profile shell safe
    profile = mkOption {
      type = types.str;
      default = "/nix/var/nix/profiles/system";
    };

    source = mkOption {
      type = types.attrsOf types.source;
      default = {};
    };

    # TODO deprecate krebs.build.user
    user = mkOption {
      type = types.user;
    };
  };
}