Files
lux-old/modules/users/kiri.nix
2026-02-28 19:41:14 +01:00

52 lines
1.3 KiB
Nix

{ den, lux, ... }:
let
userAccount = {
email = "mail@jelles.net";
realName = "Jelle Spreeuwenberg";
serverDomain = "jelles.net";
emails = {
old = "mail@jellespreeuwenberg.nl";
uni = "j.spreeuwenberg@student.tue.nl";
work = "jelle.spreeuwenberg@yookr.org";
};
};
in
{
den.hosts.x86_64-linux.polaris.users.kiri = userAccount // {
syncthingId = "6HBAKXB-DB3B4H2-BODCAXF-KD23H5W-6X5LGLC-ZJHZHLG-7U7YMGO-BB6IXQ3";
};
den.hosts.x86_64-linux.orion.users.kiri = userAccount // {
syncthingId = "NNRNQKZ-OWPHSVA-B6KKBHE-SDYLSTV-7SVHGPR-NEWLKPL-4MWNJG4-G5FHUAI";
};
den.aspects.kiri = {
includes = with lux; [
den._.primary-user
(den._.user-shell "zsh")
(
{ user, ... }:
{
nixos.users.users.${user.name}.openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAU2LydkXRTtNFY7oyX8JQURwXLVhB71DeK8XzrXeFX1 openpgp:0xA490D93A"
];
}
)
# Core User Tools & Environment (Available on Desktop and Server)
syncthing
terminal
shell
neovim
ssh
dev
];
nixos =
{ config, ... }:
{
users.users.kiri.hashedPasswordFile = config.sops.secrets.hashed-password-kiri.path;
};
};
}