fix default mechanism for deployrs module
This commit is contained in:
parent
b67c8cff75
commit
c3862ff13a
1 changed files with 3 additions and 1 deletions
|
|
@ -1,7 +1,9 @@
|
||||||
{ lib, config, ... }:
|
{ lib, config, ... }:
|
||||||
{
|
{
|
||||||
options.deploy = {
|
options.deploy = {
|
||||||
enable = (lib.mkEnableOption // { default = true; }) "enable deployrs module";
|
enable = lib.mkEnableOption "enable deployrs module" // {
|
||||||
|
default = true;
|
||||||
|
};
|
||||||
address = lib.mkOption {
|
address = lib.mkOption {
|
||||||
type = lib.types.str;
|
type = lib.types.str;
|
||||||
default = config.networking.hostName;
|
default = config.networking.hostName;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue