|
|
|
@ -3,7 +3,7 @@ |
|
|
|
|
with lib; |
|
|
|
|
|
|
|
|
|
let |
|
|
|
|
cfg = config.services.dysnomia; |
|
|
|
|
cfg = config.dysnomia; |
|
|
|
|
|
|
|
|
|
printProperties = properties: |
|
|
|
|
concatMapStrings (propertyName: |
|
|
|
@ -69,7 +69,7 @@ let |
|
|
|
|
in |
|
|
|
|
{ |
|
|
|
|
options = { |
|
|
|
|
services.dysnomia = { |
|
|
|
|
dysnomia = { |
|
|
|
|
|
|
|
|
|
enable = mkOption { |
|
|
|
|
type = types.bool; |
|
|
|
@ -142,7 +142,7 @@ in |
|
|
|
|
|
|
|
|
|
environment.systemPackages = [ cfg.package ]; |
|
|
|
|
|
|
|
|
|
services.dysnomia.package = pkgs.dysnomia.override (origArgs: { |
|
|
|
|
dysnomia.package = pkgs.dysnomia.override (origArgs: { |
|
|
|
|
enableApacheWebApplication = config.services.httpd.enable; |
|
|
|
|
enableAxis2WebService = config.services.tomcat.axis2.enable; |
|
|
|
|
enableEjabberdDump = config.services.ejabberd.enable; |
|
|
|
@ -153,7 +153,7 @@ in |
|
|
|
|
enableMongoDatabase = config.services.mongodb.enable; |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
services.dysnomia.properties = { |
|
|
|
|
dysnomia.properties = { |
|
|
|
|
hostname = config.networking.hostName; |
|
|
|
|
inherit (config.nixpkgs.localSystem) system; |
|
|
|
|
|
|
|
|
@ -171,7 +171,7 @@ in |
|
|
|
|
}}"); |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
services.dysnomia.containers = lib.recursiveUpdate ({ |
|
|
|
|
dysnomia.containers = lib.recursiveUpdate ({ |
|
|
|
|
process = {}; |
|
|
|
|
wrapper = {}; |
|
|
|
|
} |
|
|
|
|