nixos/users.nix
2021-04-13 20:42:44 +02:00

24 lines
488 B
Nix

{ config, pkgs, lib, ... }:
{
users.users.felix = {
isNormalUser = true;
home = "/home/felix";
group = "felix";
extraGroups = [
"wheel"
"adbusers"
"audio"
"dialout"
"docker"
"input"
"libvirtd"
"networkmanager"
"video"
];
openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOFx6OLwL9MbkD3mnMsv+xrzZHN/rwCTgVs758SCLG0h felix@thinkman" ];
};
users.groups.felix = {
gid = 1000;
};
}