stockholm/krebs/3modules/build.nix

23 lines
387 B
Nix
Raw Normal View History

2016-07-17 00:35:30 +02:00
{ config, ... }:
2015-10-01 01:48:15 +02:00
2016-10-20 20:54:38 +02:00
with import <stockholm/lib>;
2015-10-01 01:48:15 +02:00
2016-07-17 00:35:30 +02:00
{
options.krebs.build = {
2015-10-01 01:48:15 +02:00
# TODO deprecate krebs.build.host
2016-07-17 00:35:30 +02:00
host = mkOption {
2015-10-01 01:48:15 +02:00
type = types.host;
};
2016-07-17 00:35:30 +02:00
profile = mkOption {
2021-11-07 21:19:09 +01:00
type = types.absolute-pathname;
2015-10-01 01:48:15 +02:00
default = "/nix/var/nix/profiles/system";
};
2016-07-17 00:35:30 +02:00
# TODO deprecate krebs.build.user
user = mkOption {
type = types.user;
};
};
}