nixos-configs/nixos/home/main.nix

38 lines
940 B
Nix
Raw Normal View History

{ config, pkgs, ... }:
let
home-manager = builtins.fetchTarball "https://github.com/nix-community/home-manager/archive/master.tar.gz";
in
{
## Global config to add home-manager module
#############################################################################
imports =
[
(import "${home-manager}/nixos")
];
2023-06-20 09:35:36 -04:00
# Define a user account. Don't forget to set a password with 'passwd'.
users.users.matt = {
isNormalUser = true;
2023-09-12 08:02:35 -04:00
extraGroups = [ "wheel" "input" "uinput" "adm" "mlocate" "video" "libvirtd" ];
2023-06-20 09:35:36 -04:00
};
home-manager.useUserPackages = true;
home-manager.useGlobalPkgs = true;
programs.dconf.enable = true;
#############################################################################
home-manager.users.matt = {
imports = [
./hyprland.nix
./bashdots.nix
./dotfiles.nix
2023-06-26 17:29:17 -04:00
./packages.nix
./misc.nix
2023-07-19 21:52:35 -04:00
./nvim.nix
];
home.stateVersion = "23.05";
};
}