diff options
author | Maximilian Kienitz <max@kienitz.dev> | 2024-05-02 23:24:52 +0200 |
---|---|---|
committer | Maximilian Kienitz <max@kienitz.dev> | 2024-05-06 23:26:09 +0200 |
commit | aa93972d0b595dff3b0bd66821e5c45c076a6eb4 (patch) | |
tree | 31b76cede93a0ed0325fb42d623e93cc90df02e9 /nixos/modules | |
parent | 3a32e80b39246ee36452a573f1f5468a9a1b084e (diff) |
nixos/vsftpd: fix invalid implication in assertions
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/services/networking/vsftpd.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/vsftpd.nix b/nixos/modules/services/networking/vsftpd.nix index 25f950600b91c..07b93e92a7509 100644 --- a/nixos/modules/services/networking/vsftpd.nix +++ b/nixos/modules/services/networking/vsftpd.nix @@ -278,7 +278,7 @@ in } { assertion = (cfg.enableVirtualUsers -> cfg.userDbPath != null) - && (cfg.enableVirtualUsers -> cfg.localUsers != null); + && (cfg.enableVirtualUsers -> cfg.localUsers); message = "vsftpd: If enableVirtualUsers is true, you need to setup both the userDbPath and localUsers options."; }]; |