36 lines
1.1 KiB
Nix
36 lines
1.1 KiB
Nix
{ config, lib, modules, pkgs, ... }: {
|
|
programs.nh.flake = "/persist/hana/flakes";
|
|
programs.zsh.enable = true;
|
|
users.users.hana = {
|
|
isNormalUser = true;
|
|
extraGroups = [ "wheel" ];
|
|
shell = pkgs.zsh;
|
|
uid = 1002;
|
|
hashedPassword = "$y$j9T$3xCNDudmfrIu5VfQQoDkj/$ugzJWq0gORN9jnhDsREu31CkL3zwniQu6KoLbmg6Wr/";
|
|
openssh.authorizedKeys.keys = [
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPru5eTBvHJ4ZmrrzPRHCGM09wQP/ZHSaKYalDuBVO15 rin@anemone"
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILhP8yi/CdACtql3I4j0xI+r0KV4AVCb265Bd/RTFBu4 hana@dandelion"
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJ5l9t8dc6mPsKKYqZlPKvhOdyqz+DS5UOcvHuh3uVGt cilly@hibiscus"
|
|
];
|
|
};
|
|
|
|
home-manager.users.hana = { config, lib, pkgs, ... }: {
|
|
home = {
|
|
username = "hana";
|
|
homeDirectory = "/home/hana";
|
|
stateVersion = "24.11";
|
|
};
|
|
|
|
imports = with modules.user; [
|
|
comma
|
|
direnv
|
|
git
|
|
neovim-minimal
|
|
sessionVariables
|
|
zsh
|
|
];
|
|
|
|
programs.git.signing.signByDefault = lib.mkForce false;
|
|
programs.zsh.history.path = lib.mkForce "/persist/hana/zsh_history";
|
|
};
|
|
}
|