stockholm/krebs/3modules/current.nix
2016-02-14 16:43:44 +01:00

27 lines
367 B
Nix

{ config, pkgs, lib, ... }:
with config.krebs.lib;
let
cfg = config.krebs.current;
out = {
options.krebs.current = api;
config = lib.mkIf cfg.enable imp;
};
api = {
enable = mkEnableOption "krebs.current";
host = mkOption {
type = types.host;
};
user = mkOption {
type = types.user;
};
};
imp = {
};
in out