summary refs log tree commit diff
path: root/nixos/modules/services/networking/amuled.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/services/networking/amuled.nix')
-rw-r--r--nixos/modules/services/networking/amuled.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/amuled.nix b/nixos/modules/services/networking/amuled.nix
index 1128ee2c3e6..39320643dd5 100644
--- a/nixos/modules/services/networking/amuled.nix
+++ b/nixos/modules/services/networking/amuled.nix
@@ -24,13 +24,15 @@ in
       };
 
       dataDir = mkOption {
-        default = ''/home/${user}/'';
+        type = types.str;
+        default = "/home/${user}/";
         description = ''
           The directory holding configuration, incoming and temporary files.
         '';
       };
 
       user = mkOption {
+        type = types.nullOr types.str;
         default = null;
         description = ''
           The user the AMule daemon should run as.