add poby user module

This commit is contained in:
Sangmin Kim 2026-05-19 13:33:33 +09:00
parent 9730520879
commit 7261dc42c3
4 changed files with 23 additions and 3 deletions

View file

@ -53,7 +53,7 @@
{ {
home-manager.useGlobalPkgs = true; home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true; home-manager.useUserPackages = true;
home-manager.users.admin = import ./home/admin.nix; home-manager.users.poby = import ./home/poby.nix;
} }
hostModule hostModule

View file

@ -1 +0,0 @@
# TODO: Define admin Home Manager settings.

5
home/poby.nix Normal file
View file

@ -0,0 +1,5 @@
{ ... }:
{
home.stateVersion = "25.11";
}

View file

@ -1 +1,17 @@
# TODO: Define users and SSH authorized keys. { ... }:
{
users.users.poby = {
isNormalUser = true;
extraGroups = [
"wheel"
"networkmanager"
];
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFuQ4STNnixjNDo38AyI0yABKAVfF3hupo66613IgfC7"
];
};
security.sudo.wheelNeedsPassword = false;
}