From d2443c43264b9453ad2e73afd2dccb07cb841fc9 Mon Sep 17 00:00:00 2001 From: Gabriel Ebner Date: Sun, 3 Nov 2019 16:21:04 +0100 Subject: [PATCH] aplysia: use new users.users attribute --- aplysia.nix | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/aplysia.nix b/aplysia.nix index 4219d4b..1b26180 100644 --- a/aplysia.nix +++ b/aplysia.nix @@ -29,15 +29,21 @@ in hostId = "34a820f1"; }; - users.extraUsers.gebner.extraGroups = [ - "transmission" - "nilotica" - ]; + users = { + users = { + gebner.extraGroups = [ + "transmission" + "nilotica" + ]; - users.extraUsers.nilotica = { - extraGroups = [ - "nilotica" - ]; + nilotica = { + group = "nilotica"; + }; + }; + + groups = { + nilotica = {}; + }; }; boot.kernelPackages = pkgs.lib.mkOverride 10 pkgs.linuxPackages;