diff options
author | sinanmohd <sinan@sinanmohd.com> | 2024-03-29 17:25:17 +0530 |
---|---|---|
committer | sinanmohd <sinan@sinanmohd.com> | 2024-03-29 17:25:17 +0530 |
commit | 04387b3cdaad1018646f24beae5bc3dbc8cdfb21 (patch) | |
tree | afc616c308cdbe1ebd124e3919409a8bc10b1592 | |
parent | 7f080be877a5b6146d2b186f178e9ec986cb1b34 (diff) |
lia/users/sharu: init
-rw-r--r-- | nixos/lia/modules/users.nix | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/nixos/lia/modules/users.nix b/nixos/lia/modules/users.nix index 13617ff..26f5dc8 100644 --- a/nixos/lia/modules/users.nix +++ b/nixos/lia/modules/users.nix @@ -1,10 +1,18 @@ { pkgs, ... }: { - users.users."rohit" = { - isNormalUser = true; - extraGroups = [ "wheel" ]; + users.users = { + "rohit" = { + isNormalUser = true; + extraGroups = [ "wheel" ]; - packages = with pkgs; [ git htop ]; - openssh.authorizedKeys.keys = - [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOZcWF1zVyxsCdZ/j+h+RlHZlyhgY2Bky03847bxFNSH rohit@victus" ]; + packages = with pkgs; [ git htop ]; + openssh.authorizedKeys.keys = + [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOZcWF1zVyxsCdZ/j+h+RlHZlyhgY2Bky03847bxFNSH rohit@victus" ]; + }; + + "sharu" = { + isNormalUser = true; + openssh.authorizedKeys.keys = + [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMAAaAUTiM3YY7E/7lq44aX+2U0IYhp2Qntu7hINcTjF sharu@lappie" ]; + }; }; } |