15 lines
197 B
Nix
15 lines
197 B
Nix
{ lib, ... }:
|
|
let
|
|
inherit (lib) types mkOption;
|
|
in
|
|
{
|
|
options = {
|
|
opt = mkOption {
|
|
type = types.attrTag {
|
|
int = types.int;
|
|
};
|
|
default = { int = 1; };
|
|
};
|
|
};
|
|
}
|