fix default mechanism for deployrs module

This commit is contained in:
Jermeiah S 2025-06-19 18:04:42 -04:00
parent b67c8cff75
commit c3862ff13a
No known key found for this signature in database

View file

@ -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;