initial commit
static docker registry is working
This commit is contained in:
18
module.nix
Normal file
18
module.nix
Normal file
@@ -0,0 +1,18 @@
|
||||
{ config, lib, ... }:
|
||||
|
||||
with lib;
|
||||
|
||||
let
|
||||
cfg = config.foo.bar;
|
||||
|
||||
in
|
||||
|
||||
{
|
||||
options.foo.bar = {
|
||||
enable = mkEnableOption "foobar";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
# ...
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user