2022-10-03 21:25:57 +02:00
|
|
|
{ pkgs, ... }: {
|
2023-05-04 13:08:10 +02:00
|
|
|
# The block that specifies my user account.
|
2023-11-16 20:14:11 +01:00
|
|
|
users.extraUsers.vivian = {
|
2022-10-03 21:25:57 +02:00
|
|
|
# This account is intended for a non-system user.
|
|
|
|
isNormalUser = true;
|
|
|
|
|
|
|
|
# My default shell
|
|
|
|
shell = pkgs.zsh;
|
|
|
|
|
|
|
|
# My SSH keys.
|
|
|
|
openssh.authorizedKeys.keys = [
|
2023-11-16 20:14:11 +01:00
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICBhJAp7NWlHgwDYd2z6VNROy5RkeZHRINFLsFvwT4b3 vivian@bastion"
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMMbdjysLnmwJD5Fs/SjBPstdIQNUxy8zFHP0GlhHMJB vivian@bastion"
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIfooZjMWXvXZu1ReOEACDZ0TMb2WJRBSOLlWE8y6fUh vivian@aoife"
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBMTCUjDbDjAiEKbKmLPavuYM0wJIBdjgytLsg1uWuGc vivian@nord"
|
2022-10-03 21:25:57 +02:00
|
|
|
"sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIM3TqXaApX2JZsgfZd7PKVFMecDgqTHKibpSzgdXNpYAAAAABHNzaDo= solov2-le"
|
2023-11-16 20:14:11 +01:00
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAID+HbsgJTQS6pvnMEI5NPKjIf78z+9A7CTIt3abi+PS6 vivian@eevee"
|
2022-10-03 21:25:57 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
# Make me admin
|
2023-05-04 13:08:10 +02:00
|
|
|
extraGroups =
|
|
|
|
[ "systemd-journal" "wheel" "networkmanager" "libvirtd" "dialout" ];
|
2022-10-03 21:25:57 +02:00
|
|
|
};
|
2023-05-30 14:50:49 +02:00
|
|
|
|
2023-11-16 20:14:11 +01:00
|
|
|
home-manager.users.vivian = {
|
2023-09-25 11:56:02 +02:00
|
|
|
programs = {
|
|
|
|
home-manager.enable = true;
|
2023-05-30 14:50:49 +02:00
|
|
|
|
2023-09-25 11:56:02 +02:00
|
|
|
v.git.enable = true;
|
2023-05-30 14:50:49 +02:00
|
|
|
|
2023-09-25 11:56:02 +02:00
|
|
|
tmux = {
|
|
|
|
enable = true;
|
|
|
|
shortcut = "b";
|
|
|
|
terminal = "screen-256color";
|
|
|
|
clock24 = true;
|
|
|
|
};
|
2023-05-30 14:50:49 +02:00
|
|
|
|
2023-09-25 11:56:02 +02:00
|
|
|
bat.enable = true;
|
2023-05-30 14:50:49 +02:00
|
|
|
};
|
2023-09-25 11:56:02 +02:00
|
|
|
home = {
|
2023-11-16 20:14:11 +01:00
|
|
|
username = "vivian";
|
|
|
|
homeDirectory = "/home/vivian";
|
2023-09-25 11:56:02 +02:00
|
|
|
stateVersion = "23.05";
|
|
|
|
};
|
2023-06-27 11:19:54 +02:00
|
|
|
|
2023-05-30 14:50:49 +02:00
|
|
|
};
|
2022-11-29 09:38:43 +01:00
|
|
|
}
|