refactor(copyparty): make package a deployment policy

This commit is contained in:
2026-10-12 22:35:29 -04:00
parent 04ef61475b
commit f8c08abda8

View File

@@ -11,8 +11,6 @@ in
options.modules.services.copyparty = { options.modules.services.copyparty = {
enable = lib.mkEnableOption "Copyparty"; enable = lib.mkEnableOption "Copyparty";
package = lib.mkPackageOption pkgs "copyparty-min" { };
port = lib.mkOption { port = lib.mkOption {
type = lib.types.port; type = lib.types.port;
default = 3923; default = 3923;
@@ -119,10 +117,10 @@ in
enable = true; enable = true;
inherit (cfg) inherit (cfg)
group group
package
stateDir stateDir
user user
; ;
package = pkgs.copyparty-min;
settings = { settings = {
i = "0.0.0.0"; i = "0.0.0.0";
p = cfg.port; p = cfg.port;