From 04387b3cdaad1018646f24beae5bc3dbc8cdfb21 Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Fri, 29 Mar 2024 17:25:17 +0530 Subject: lia/users/sharu: init --- nixos/lia/modules/users.nix | 20 ++++++++++++++------ 1 file 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" ]; + }; }; } -- cgit v1.2.3