+jannik as admin, librechat-dev OPENID with usergroups
This commit is contained in:
@@ -46,6 +46,7 @@
|
||||
trusted-users = [
|
||||
"root"
|
||||
"sascha.koenig"
|
||||
"jannik.mueller"
|
||||
]; # Set users that are allowed to use the flake command
|
||||
};
|
||||
gc = {
|
||||
|
||||
@@ -1 +1,6 @@
|
||||
{imports = [./sascha.koenig.nix];}
|
||||
{
|
||||
imports = [
|
||||
./jannik.mueller.nix
|
||||
./sascha.koenig.nix
|
||||
];
|
||||
}
|
||||
|
||||
27
hosts/common/users/jannik.mueller.nix
Normal file
27
hosts/common/users/jannik.mueller.nix
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
inputs,
|
||||
...
|
||||
}: {
|
||||
users.users."jannik.mueller" = {
|
||||
hashedPassword = "$y$j9T$09RgD3AU3PK9Oi6JGLe0V1$i8J2ZOD1h1b6Zpw28ub.kExujoDKHzokeXzkM23Tfd/";
|
||||
isNormalUser = true;
|
||||
extraGroups = [
|
||||
"wheel"
|
||||
"networkmanager"
|
||||
"libvirtd"
|
||||
"flatpak"
|
||||
"plugdev"
|
||||
"input"
|
||||
"kvm"
|
||||
"qemu-libvirtd"
|
||||
];
|
||||
openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPvZazSuIoWoRWhkAqQDMLeurxVUyy1MTllp1wfw1tzq"
|
||||
];
|
||||
packages = [inputs.home-manager.packages.${pkgs.system}.default];
|
||||
};
|
||||
home-manager.users."sascha.koenig" =
|
||||
import ../../../home/jannik.mueller/${config.networking.hostName}.nix;
|
||||
}
|
||||
Reference in New Issue
Block a user