diff --git a/src/nix/modules/service/docker-compose-service.nix b/src/nix/modules/service/docker-compose-service.nix index c55b971..3033931 100644 --- a/src/nix/modules/service/docker-compose-service.nix +++ b/src/nix/modules/service/docker-compose-service.nix @@ -210,6 +210,11 @@ in default = []; description = serviceRef "external_links"; }; + service.profiles = mkOption { + type = listOf str; + default = []; + description = serviceRef "profiles"; + }; service.extra_hosts = mkOption { type = listOf str; default = []; @@ -411,5 +416,7 @@ in inherit (config.service) working_dir; } // lib.optionalAttrs (config.service.user != null) { inherit (config.service) user; + } // lib.optionalAttrs (config.service.profiles != []) { + inherit (config.service) profiles; }; }