diff options
author | sinanmohd <sinan@sinanmohd.com> | 2024-01-08 22:25:37 +0530 |
---|---|---|
committer | sinanmohd <sinan@sinanmohd.com> | 2024-01-08 22:28:19 +0530 |
commit | d91ce600ab53da44ee5919d038707e2690b1f6a9 (patch) | |
tree | 1e0cf8758d21fbc2e4267abe3eb563cadb54731a /common.nix | |
parent | 279654d9e5c91413596c2328e6de4dc35d2c4dc5 (diff) |
modules/userdata: refactor, init userdata.package
Diffstat (limited to 'common.nix')
-rw-r--r-- | common.nix | 27 |
1 files changed, 0 insertions, 27 deletions
@@ -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"; |