nixos-config/config/users/darkkirb.nix

26 lines
787 B
Nix
Raw Normal View History

2022-06-12 15:39:15 +00:00
{config, ...}: {
users.users.darkkirb = {
createHome = true;
description = "Charlotte 🦝 Delenk";
extraGroups = [
"wheel"
2022-04-28 17:49:31 +00:00
"input"
2022-07-26 09:39:51 +00:00
"dialout"
];
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-06-12 15:39:15 +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;
};
2022-06-12 15:39:15 +00:00
services.postgresql.ensureDatabases = ["darkkirb"];
}