Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions modules/genebean/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{ ... }: {
imports = [
#
]
}
26 changes: 26 additions & 0 deletions modules/genebean/sample.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.genebean.sample;
in {
imports = [
# paths of other modules
];

options.genebean.sample = {
enable = mkEnableOption "Enable the genebean sample module";

foo = mkOption {
type = types.str;
default = "defaultFoo";
description = "An example string option for the genebean sample module.";
};
};

config = mkIf cfg.enable {
# configuration settings when enabled
genebean.sample = {
# option definitions
};
};
}