From f8cea6f6c8a8ce35533d7fa978dbff8cd5427b7c Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Mon, 8 Jan 2024 23:09:42 +0530 Subject: modules/userdata: refactor --- hosts/cez/configuration.nix | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'hosts/cez/configuration.nix') diff --git a/hosts/cez/configuration.nix b/hosts/cez/configuration.nix index 2df69ef..05c3b9f 100644 --- a/hosts/cez/configuration.nix +++ b/hosts/cez/configuration.nix @@ -39,12 +39,13 @@ in getty.autologinUser = user; }; - userdata.packages = with pkgs; [ - geoipWithDatabase - ffmpeg - (pass.withExtensions (exts: [ exts.pass-otp ])) - ]; - programs.adb.enable = true; - userdata.groups = [ "adbusers" ]; + users.users.${user} = { + extraGroups = [ "adbusers" ]; + packages = with pkgs; [ + geoipWithDatabase + ffmpeg + (pass.withExtensions (exts: [ exts.pass-otp ])) + ]; + }; } -- cgit v1.2.3