mirror of
https://github.com/smg1024/homelab.git
synced 2026-05-22 20:32:58 +09:00
add poby user module
This commit is contained in:
parent
9730520879
commit
7261dc42c3
4 changed files with 23 additions and 3 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
# TODO: Define admin Home Manager settings.
|
|
||||||
5
home/poby.nix
Normal file
5
home/poby.nix
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
{ ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
home.stateVersion = "25.11";
|
||||||
|
}
|
||||||
|
|
@ -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;
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue