refactor(copyparty): make package a deployment policy
This commit is contained in:
@@ -11,8 +11,6 @@ in
|
||||
options.modules.services.copyparty = {
|
||||
enable = lib.mkEnableOption "Copyparty";
|
||||
|
||||
package = lib.mkPackageOption pkgs "copyparty-min" { };
|
||||
|
||||
port = lib.mkOption {
|
||||
type = lib.types.port;
|
||||
default = 3923;
|
||||
@@ -119,10 +117,10 @@ in
|
||||
enable = true;
|
||||
inherit (cfg)
|
||||
group
|
||||
package
|
||||
stateDir
|
||||
user
|
||||
;
|
||||
package = pkgs.copyparty-min;
|
||||
settings = {
|
||||
i = "0.0.0.0";
|
||||
p = cfg.port;
|
||||
|
||||
Reference in New Issue
Block a user