materusPC: add test user
This commit is contained in:
parent
6d16c995e2
commit
a1cf15a3ad
|
@ -3,6 +3,7 @@
|
|||
imports = [
|
||||
./apps.nix
|
||||
./java.nix
|
||||
./users.nix
|
||||
./desktop
|
||||
];
|
||||
|
||||
|
|
|
@ -0,0 +1,32 @@
|
|||
{ pkgs, materusArg, config, ... }:
|
||||
{
|
||||
|
||||
users.users.materus = {
|
||||
isNormalUser = true;
|
||||
extraGroups = [
|
||||
"audio"
|
||||
"video"
|
||||
"render"
|
||||
"pipewire"
|
||||
"wheel"
|
||||
"networkmanager"
|
||||
"input"
|
||||
"kvm"
|
||||
"libvirt-qemu"
|
||||
"libvirt"
|
||||
"libvirtd"
|
||||
"podman"
|
||||
"scanner"
|
||||
"lp"
|
||||
];
|
||||
shell = pkgs.zsh;
|
||||
description = "Mateusz Słodkowicz";
|
||||
openssh.authorizedKeys.keyFiles = [ ("${materusArg.cfg.path}" + "/extraFiles/keys/ssh/materus.pub") ];
|
||||
hashedPasswordFile = config.sops.secrets."users/materus".path;
|
||||
};
|
||||
users.users.tester = {
|
||||
isNormalUser = true;
|
||||
home = "/tmp/home/tester";
|
||||
hashedPasswordFile = config.sops.secrets."users/materus".path;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue