stockholm/krebs/3modules/current.nix

27 lines
354 B
Nix
Raw Permalink Normal View History

2015-10-25 13:15:21 +00:00
{ config, pkgs, lib, ... }:
2023-06-10 10:50:53 +00:00
with lib;
2015-10-25 13:15:21 +00:00
let
cfg = config.krebs.current;
out = {
options.krebs.current = api;
2016-02-14 15:43:44 +00:00
config = lib.mkIf cfg.enable imp;
2015-10-25 13:15:21 +00:00
};
api = {
enable = mkEnableOption "krebs.current";
host = mkOption {
type = types.host;
};
user = mkOption {
type = types.user;
};
};
imp = {
};
in out