nixos-config/config/users/darkkirb.nix

23 lines
709 B
Nix
Raw Normal View History

2022-04-13 10:29:06 +00:00
{ config, ... }: {
users.users.darkkirb = {
createHome = true;
description = "Charlotte 🦝 Delenk";
extraGroups = [
"wheel"
];
group = "users";
2022-01-15 20:12:12 +00:00
home = "/home/darkkirb";
2022-01-14 10:23:43 +00:00
isNormalUser = true;
2022-01-15 20:12:12 +00:00
uid = 1000;
openssh.authorizedKeys.keys = [
"sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIDXQlfvRUm/z6eP1EjsajIbMibkq9n+ymlbBi7NFiOuaAAAABHNzaDo= ssh:"
];
2022-04-13 10:29:06 +00:00
passwordFile = config.sops.secrets."password/darkkirb".path;
};
2022-01-19 14:09:42 +00:00
sops.secrets."email/lotte@chir.rs" = { owner = "darkkirb"; };
sops.secrets."email/mdelenk@hs-mittweida.de" = { owner = "darkkirb"; };
2022-04-13 10:29:06 +00:00
sops.secrets."password/darkkirb" = {
neededForUsers = true;
};
}