From e441dc43cf5c9707cf580c36805a5aaa66f33b3c Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Sat, 2 Sep 2023 11:45:57 +0530 Subject: module/userdata: init --- configuration.nix | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'configuration.nix') diff --git a/configuration.nix b/configuration.nix index f128856..27b351e 100644 --- a/configuration.nix +++ b/configuration.nix @@ -1,16 +1,16 @@ { config, pkgs, lib, ... }: let - user = config.passthru.user; + user = config.userdata.user; + groups = config.userdata.groups; in { imports = [ ./hardware-configuration.nix # hw scan + ./modules/userdata.nix ./hosts/cez.nix ]; - passthru.user = "sinan"; - # boot boot = { tmp.useTmpfs = true; @@ -29,9 +29,8 @@ in isNormalUser = true; extraGroups = [ "wheel" - "seat" "adbusers" - ]; + ] ++ groups; packages = with pkgs; [ yt-dlp geoipWithDatabase -- cgit v1.2.3