nixos/amuled: add types

This commit is contained in:
Fritz Otlinghaus 2021-01-24 13:14:21 +01:00
parent e63d0738a7
commit 6054aa2bc1
No known key found for this signature in database
GPG Key ID: F7FBBF6334AF4872

View File

@ -24,6 +24,7 @@ in
}; };
dataDir = mkOption { dataDir = mkOption {
type = types.str;
default = ''/home/${user}/''; default = ''/home/${user}/'';
description = '' description = ''
The directory holding configuration, incoming and temporary files. The directory holding configuration, incoming and temporary files.
@ -31,6 +32,7 @@ in
}; };
user = mkOption { user = mkOption {
type = types.nullOr types.str;
default = null; default = null;
description = '' description = ''
The user the AMule daemon should run as. The user the AMule daemon should run as.