summary refs log tree commit diff
path: root/nixos/modules/services/networking/amuled.nix
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2021-01-24 13:52:02 +0100
committerGitHub <noreply@github.com>2021-01-24 13:52:02 +0100
commit513a3ea66508726937f65c257c79edd67059cef6 (patch)
treedbeb65003e8e67d4ce445b2ddf77caeb346d5a07 /nixos/modules/services/networking/amuled.nix
parent530df49d7a289bef7135c1d5f222914f19dfe8ec (diff)
parent6054aa2bc1fe0af0d2bf8dfac3a61ef6b8b0bb4a (diff)
downloadnixpkgs-513a3ea66508726937f65c257c79edd67059cef6.tar
nixpkgs-513a3ea66508726937f65c257c79edd67059cef6.tar.gz
nixpkgs-513a3ea66508726937f65c257c79edd67059cef6.tar.bz2
nixpkgs-513a3ea66508726937f65c257c79edd67059cef6.tar.lz
nixpkgs-513a3ea66508726937f65c257c79edd67059cef6.tar.xz
nixpkgs-513a3ea66508726937f65c257c79edd67059cef6.tar.zst
nixpkgs-513a3ea66508726937f65c257c79edd67059cef6.zip
Merge pull request #110680 from helsinki-systems/amuled_types
Diffstat (limited to 'nixos/modules/services/networking/amuled.nix')
-rw-r--r--nixos/modules/services/networking/amuled.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/services/networking/amuled.nix b/nixos/modules/services/networking/amuled.nix
index 1128ee2c3e6..c843d892193 100644
--- a/nixos/modules/services/networking/amuled.nix
+++ b/nixos/modules/services/networking/amuled.nix
@@ -24,6 +24,7 @@ in
       };
 
       dataDir = mkOption {
+        type = types.str;
         default = ''/home/${user}/'';
         description = ''
           The directory holding configuration, incoming and temporary files.
@@ -31,6 +32,7 @@ in
       };
 
       user = mkOption {
+        type = types.nullOr types.str;
         default = null;
         description = ''
           The user the AMule daemon should run as.