summaryrefslogtreecommitdiff
path: root/hosts/cez/configuration.nix
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2024-01-08 23:09:42 +0530
committersinanmohd <sinan@sinanmohd.com>2024-01-08 23:29:53 +0530
commitf8cea6f6c8a8ce35533d7fa978dbff8cd5427b7c (patch)
treeb87d5da18c6f86d3a931a88370f41421833e9814 /hosts/cez/configuration.nix
parent119d8d504f435b552e548a9130ae96a2a3721dff (diff)
modules/userdata: refactor
Diffstat (limited to 'hosts/cez/configuration.nix')
-rw-r--r--hosts/cez/configuration.nix15
1 files changed, 8 insertions, 7 deletions
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 ]))
+ ];
+ };
}