mirror of
https://git.pvv.ntnu.no/Drift/pvv-nixos-config.git
synced 2024-12-04 19:40:07 +01:00
17 lines
492 B
Nix
17 lines
492 B
Nix
{ pkgs, lib, config, ... }:
|
|
{
|
|
users.users.felixalb = {
|
|
isNormalUser = true;
|
|
extraGroups = [
|
|
"wheel"
|
|
] ++ lib.optionals ( config.users.groups ? "libvirtd" ) [
|
|
"libvirtd"
|
|
];
|
|
shell = pkgs.zsh;
|
|
openssh.authorizedKeys.keys = [
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDKzPICGew7uN0cmvRmbwkwTCodTBUgEhkoftQnZuO4Q felixalbrigtsen@gmail.com"
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBTXSL0w7OUcz1LzEt1T3I3K5RgyNV+MYz0x/1RbpDHQ felixalb@worf"
|
|
];
|
|
};
|
|
}
|