summaryrefslogtreecommitdiffstats
path: root/krebs/3modules/build.nix
blob: bf20cb0997deb44565e73769628009ff32728d17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ config, lib, pkgs, ... }:

with import ../../lib/pure.nix { inherit lib; };

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

    profile = mkOption {
      type = types.absolute-pathname;
      default = "/nix/var/nix/profiles/system";
    };

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