mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-08 14:40:07 +03:00
Merge pull request #77177 from petabyteboy/feature/loaof-deprecation
tree-wide: fix errors and warning related to loaOf deprecation
This commit is contained in:
commit
04f6b5c945
@ -334,7 +334,7 @@ in
|
||||
} // optionalAttrs (cfg.group == "dovecot2") {
|
||||
dovecot2.gid = config.ids.gids.dovecot2;
|
||||
} // optionalAttrs (cfg.createMailUser && cfg.mailGroup != null) {
|
||||
${cfg.mailgroup} = { };
|
||||
${cfg.mailGroup} = { };
|
||||
};
|
||||
|
||||
environment.etc."dovecot/modules".source = modulesDir;
|
||||
|
@ -99,7 +99,7 @@ in {
|
||||
};
|
||||
|
||||
users.groups = optionalAttrs (cfg.group == "opendkim") {
|
||||
opendkimgid = config.ids.gids.opendkim;
|
||||
opendkim.gid = config.ids.gids.opendkim;
|
||||
};
|
||||
|
||||
environment.systemPackages = [ pkgs.opendkim ];
|
||||
|
@ -665,9 +665,9 @@ in
|
||||
|
||||
users.groups =
|
||||
optionalAttrs (group == "postfix")
|
||||
{ group.gid = config.ids.gids.postfix;
|
||||
{ ${group}.gid = config.ids.gids.postfix;
|
||||
}
|
||||
++ optionalAttrs (setgidGroup == "postdrop")
|
||||
// optionalAttrs (setgidGroup == "postdrop")
|
||||
{ ${setgidGroup}.gid = config.ids.gids.postdrop;
|
||||
};
|
||||
|
||||
|
@ -92,17 +92,21 @@ in
|
||||
message = "Quassel needs a certificate file in order to require SSL";
|
||||
}];
|
||||
|
||||
users.users = mkIf (cfg.user == null) [
|
||||
{ name = "quassel";
|
||||
users.users = optionalAttrs (cfg.user == null) {
|
||||
quassel = {
|
||||
name = "quassel";
|
||||
description = "Quassel IRC client daemon";
|
||||
group = "quassel";
|
||||
uid = config.ids.uids.quassel;
|
||||
}];
|
||||
};
|
||||
};
|
||||
|
||||
users.groups = mkIf (cfg.user == null) [
|
||||
{ name = "quassel";
|
||||
users.groups = optionalAttrs (cfg.user == null) {
|
||||
quassel = {
|
||||
name = "quassel";
|
||||
gid = config.ids.gids.quassel;
|
||||
}];
|
||||
};
|
||||
};
|
||||
|
||||
systemd.tmpfiles.rules = [
|
||||
"d '${cfg.dataDir}' - ${user} - - -"
|
||||
|
Loading…
Reference in New Issue
Block a user