1
Fork 0
nixos-system-config/users/hu/user.nix

54 lines
1.2 KiB
Nix
Raw Normal View History

{ config, pkgs, ... }:
{
2024-04-05 14:36:20 +02:00
imports = [
../../packages/sets/communication.nix
../../packages/sets/games.nix
./persist.nix
./packages/stylix.nix
./packages/nh.nix
./packages/zsh/zsh.nix
2024-04-05 14:36:20 +02:00
];
environment.variables = {
2024-06-09 23:04:21 +02:00
# home.sessionVariables didn't work here for some reason
ZDOTDIR = "/home/hu/.config/zsh";
EDITOR = "nvim";
};
users.users.hu = {
isNormalUser = true;
extraGroups = [ "wheel" ];
shell = pkgs.zsh;
hashedPasswordFile = "/nix/config/secrets/hu/pass";
};
# TODO: Figure out a way to run scripts with the user session as a systemd service
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
users.hu = {
home.username = "hu";
home.homeDirectory = "/home/hu";
home.stateVersion = config.system.stateVersion;
imports = [
./packages/zsh/zsh-home.nix
./packages/git.nix
./packages/gtk.nix
# ./packages/tmux.nix
./packages/hyprland.nix
./packages/foot.nix
./packages/firefox.nix
./packages/rofi.nix
2024-05-30 19:48:29 +02:00
./packages/fastfetch.nix
./packages/nvim/neovim.nix
2024-05-26 01:02:14 +02:00
./packages/ags/ags.nix
];
};
};
}