nixos-configs/nixos/home/main.nix

48 lines
1,005 B
Nix

{ home-manager, nur, ... }:
{
## Global config to add home-manager module
#############################################################################
imports = [
home-manager.nixosModules.default
];
# Define a user account. Don't forget to set a password with 'passwd'.
users.users.matt = {
isNormalUser = true;
extraGroups = [ "wheel" "input" "uinput" "adm" "mlocate" "video" "libvirtd" ];
};
programs.dconf.enable = true;
#############################################################################
# TODO: use hm for tmux
home-manager.users = {
root = {
imports = [
./bashdots.nix
./nvim.nix
];
home.stateVersion = "23.05";
};
matt = {
imports = [
nur.hmModules.nur
./dconf.nix
./theme.nix
./hyprland.nix
./bashdots.nix
./dotfiles.nix
./packages.nix
./nvim.nix
./firefox/main.nix
];
home.stateVersion = "23.05";
};
};
}