From d91ce600ab53da44ee5919d038707e2690b1f6a9 Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Mon, 8 Jan 2024 22:25:37 +0530 Subject: modules/userdata: refactor, init userdata.package --- common.nix | 27 --------------------------- 1 file changed, 27 deletions(-) (limited to 'common.nix') diff --git a/common.nix b/common.nix index 5483f63..8ab8e95 100644 --- a/common.nix +++ b/common.nix @@ -1,10 +1,6 @@ { config, pkgs, ... }: let - user = config.userdata.user; - groups = config.userdata.groups; - description = config.userdata.email; - pubKeys = config.userdata.pubKeys; host = config.networking.hostName; in { @@ -29,29 +25,6 @@ in }; }; - # users - users.users.${user} = { - inherit description; - isNormalUser = true; - uid = 1000; - extraGroups = [ - "wheel" - ] ++ groups; - packages = with pkgs; [ - yt-dlp - geoipWithDatabase - dig - nnn - ffmpeg - rtorrent - ps_mem - brightnessctl - neofetch - (pass.withExtensions (exts: [ exts.pass-otp ])) - ]; - openssh.authorizedKeys.keys = pubKeys; - }; - # system environment = { binsh = "${pkgs.dash}/bin/dash"; -- cgit v1.2.3