summary refs log tree commit diff
path: root/nixos/modules/services/networking/amuled.nix
diff options
context:
space:
mode:
authorFritz Otlinghaus <fritz@otlinghaus.it>2021-01-24 13:14:21 +0100
committerFritz Otlinghaus <fritz@otlinghaus.it>2021-01-24 13:37:09 +0100
commit6054aa2bc1fe0af0d2bf8dfac3a61ef6b8b0bb4a (patch)
tree45cc500217b1695fc42b00e647ed5a7683bdbe0e /nixos/modules/services/networking/amuled.nix
parente63d0738a7e81c463342003810046c483c2ef745 (diff)
downloadnixpkgs-6054aa2bc1fe0af0d2bf8dfac3a61ef6b8b0bb4a.tar
nixpkgs-6054aa2bc1fe0af0d2bf8dfac3a61ef6b8b0bb4a.tar.gz
nixpkgs-6054aa2bc1fe0af0d2bf8dfac3a61ef6b8b0bb4a.tar.bz2
nixpkgs-6054aa2bc1fe0af0d2bf8dfac3a61ef6b8b0bb4a.tar.lz
nixpkgs-6054aa2bc1fe0af0d2bf8dfac3a61ef6b8b0bb4a.tar.xz
nixpkgs-6054aa2bc1fe0af0d2bf8dfac3a61ef6b8b0bb4a.tar.zst
nixpkgs-6054aa2bc1fe0af0d2bf8dfac3a61ef6b8b0bb4a.zip
nixos/amuled: add 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.