From f2c9bcf0094958cdc7fcb7e7abc2df25d5cd513d Mon Sep 17 00:00:00 2001 From: Izorkin Date: Thu, 23 Jan 2020 20:39:33 +0300 Subject: [PATCH] nixos/unit: fix attrs --- nixos/modules/services/web-servers/unit/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/nixos/modules/services/web-servers/unit/default.nix b/nixos/modules/services/web-servers/unit/default.nix index b0b837cd1929..f8a18954fc99 100644 --- a/nixos/modules/services/web-servers/unit/default.nix +++ b/nixos/modules/services/web-servers/unit/default.nix @@ -130,8 +130,10 @@ in { }; users.users = optionalAttrs (cfg.user == "unit") { - unit.group = cfg.group; - isSystemUser = true; + unit = { + group = cfg.group; + isSystemUser = true; + }; }; users.groups = optionalAttrs (cfg.group == "unit") {