stockholm/krebs/3modules/build.nix

23 lines
387 B
Nix
Raw Normal View History

2016-07-16 22:35:30 +00:00
{ config, ... }:
2015-09-30 23:48:15 +00:00
2016-10-20 18:54:38 +00:00
with import <stockholm/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;
};
};
}