2024-04-04 01:41:19 +02:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
programs.zsh.enable = true;
|
|
|
|
environment.variables = {
|
|
|
|
ZDOTDIR = "${config.users.users.hu.home}/.config/zsh";
|
|
|
|
};
|
|
|
|
|
|
|
|
users.users.hu = {
|
|
|
|
isNormalUser = true;
|
|
|
|
extraGroups = [ "wheel" ];
|
|
|
|
shell = pkgs.zsh;
|
|
|
|
hashedPasswordFile = "/nix/config/secrets/hu/pass";
|
|
|
|
};
|
|
|
|
|
2024-04-04 13:49:19 +02:00
|
|
|
home-manager.useGlobalPkgs = true;
|
|
|
|
home-manager.useUserPackages = false;
|
|
|
|
home-manager.users.hu = { pkgs, ... }: {
|
|
|
|
home.username = "hu";
|
|
|
|
home.homeDirectory = "/home/hu";
|
|
|
|
home.stateVersion = config.system.stateVersion;
|
|
|
|
|
|
|
|
imports = [
|
|
|
|
./packages/git.nix
|
|
|
|
./packages/tmux.nix
|
|
|
|
];
|
|
|
|
};
|
2024-04-04 01:41:19 +02:00
|
|
|
}
|