2022-02-02 00:50:39 +07:00
|
|
|
{ config, lib, modules, pkgs, ... }: {
|
2024-07-07 12:35:06 +10:00
|
|
|
programs.zsh.enable = true;
|
2022-02-02 00:50:39 +07:00
|
|
|
users.users.hana = {
|
|
|
|
|
isNormalUser = true;
|
|
|
|
|
extraGroups = [ "wheel" ];
|
|
|
|
|
shell = pkgs.zsh;
|
|
|
|
|
uid = 1002;
|
2024-07-07 12:35:06 +10:00
|
|
|
hashedPassword = "$y$j9T$3xCNDudmfrIu5VfQQoDkj/$ugzJWq0gORN9jnhDsREu31CkL3zwniQu6KoLbmg6Wr/";
|
2022-11-27 14:30:59 +07:00
|
|
|
openssh.authorizedKeys.keys = [
|
2025-04-05 13:05:59 +11:00
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPru5eTBvHJ4ZmrrzPRHCGM09wQP/ZHSaKYalDuBVO15 rin@anemone"
|
2022-11-27 14:30:59 +07:00
|
|
|
];
|
2022-02-02 00:50:39 +07:00
|
|
|
};
|
|
|
|
|
|
2025-03-23 12:57:20 +11:00
|
|
|
home-manager.users.hana = { config, lib, pkgs, ... }: {
|
2022-02-02 00:50:39 +07:00
|
|
|
home = {
|
|
|
|
|
username = "hana";
|
|
|
|
|
homeDirectory = "/home/hana";
|
2025-04-05 13:05:59 +11:00
|
|
|
stateVersion = "24.11";
|
2022-02-02 00:50:39 +07:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
imports = with modules.user; [
|
|
|
|
|
direnv
|
|
|
|
|
git
|
2022-02-02 11:00:43 +07:00
|
|
|
neovim-minimal
|
2022-02-02 00:50:39 +07:00
|
|
|
sessionVariables
|
|
|
|
|
zsh
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
programs.git.signing.signByDefault = lib.mkForce false;
|
2022-08-09 15:17:30 +07:00
|
|
|
programs.zsh.history.path = lib.mkForce "/persist/hana/zsh_history";
|
2022-02-02 00:50:39 +07:00
|
|
|
};
|
|
|
|
|
}
|