stockholm/krebs/3modules/build.nix
2023-06-21 14:47:04 +02:00

23 lines
418 B
Nix

{ 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;
};
};
}