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

46 lines
1,021 B
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
];
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
./packages/nvim/neovim.nix
2024-05-26 01:02:14 +02:00
./packages/ags/ags.nix
];
};
};
}