stockholm/krebs/3modules/build.nix

23 lines
418 B
Nix
Raw Normal View History

2023-06-10 10:50:53 +00:00
{ config, lib, pkgs, ... }:
2015-09-30 23:48:15 +00:00
2023-06-10 10:50:53 +00:00
with import ../../lib/pure.nix { inherit lib; };
2015-09-30 23:48:15 +00:00
2016-07-16 22:35:30 +00:00
{
options.krebs.build = {
2015-09-30 23:48:15 +00:00
# TODO deprecate krebs.build.host
2016-07-16 22:35:30 +00:00
host = mkOption {
2015-09-30 23:48:15 +00:00
type = types.host;
};
2016-07-16 22:35:30 +00:00
profile = mkOption {
2021-11-07 20:19:09 +00:00
type = types.absolute-pathname;
2015-09-30 23:48:15 +00:00
default = "/nix/var/nix/profiles/system";
};
2016-07-16 22:35:30 +00:00
# TODO deprecate krebs.build.user
user = mkOption {
type = types.user;
};
};
}