summaryrefslogtreecommitdiff
path: root/common.nix
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2024-01-08 22:25:37 +0530
committersinanmohd <sinan@sinanmohd.com>2024-01-08 22:28:19 +0530
commitd91ce600ab53da44ee5919d038707e2690b1f6a9 (patch)
tree1e0cf8758d21fbc2e4267abe3eb563cadb54731a /common.nix
parent279654d9e5c91413596c2328e6de4dc35d2c4dc5 (diff)
modules/userdata: refactor, init userdata.package
Diffstat (limited to 'common.nix')
-rw-r--r--common.nix27
1 files changed, 0 insertions, 27 deletions
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";