flakes/users/hana/default.nix

37 lines
1.1 KiB
Nix
Raw Permalink Normal View History

2022-02-02 00:50:39 +07:00
{ config, lib, modules, pkgs, ... }: {
2026-03-15 21:34:04 +11:00
programs.nh.flake = "/persist/hana/flakes";
programs.zsh.enable = true;
2022-02-02 00:50:39 +07:00
users.users.hana = {
isNormalUser = true;
extraGroups = [ "wheel" ];
shell = pkgs.zsh;
uid = 1002;
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"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILhP8yi/CdACtql3I4j0xI+r0KV4AVCb265Bd/RTFBu4 hana@dandelion"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJ5l9t8dc6mPsKKYqZlPKvhOdyqz+DS5UOcvHuh3uVGt cilly@hibiscus"
2022-11-27 14:30:59 +07:00
];
2022-02-02 00:50:39 +07: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; [
2026-03-15 21:06:20 +11:00
comma
2022-02-02 00:50:39 +07:00
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
};
}