Simon Bruder
f945341668
This applies the REUSE specification to the repository, so the licensing information can be tracked for every file individually.
17 lines
356 B
Nix
17 lines
356 B
Nix
# SPDX-FileCopyrightText: 2021-2023 Simon Bruder <simon@sbruder.de>
|
|
#
|
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
{ config, lib, ... }:
|
|
|
|
lib.mkIf config.sbruder.mailserver.enable {
|
|
users.users.vmail = {
|
|
uid = 10000;
|
|
group = "vmail";
|
|
home = config.sbruder.mailserver.storage;
|
|
createHome = true;
|
|
};
|
|
|
|
users.groups.vmail.gid = 10000;
|
|
}
|