2023-06-24 04:59:54 -04:00
|
|
|
{ config, pkgs, ... }:
|
2023-08-09 20:10:28 -04:00
|
|
|
let
|
|
|
|
home-manager = builtins.fetchTarball "https://github.com/nix-community/home-manager/archive/master.tar.gz";
|
|
|
|
in
|
2023-06-15 17:03:09 -04:00
|
|
|
{
|
2023-06-24 04:59:54 -04:00
|
|
|
## Global config to add home-manager module
|
|
|
|
#############################################################################
|
2023-06-15 17:03:09 -04:00
|
|
|
imports =
|
|
|
|
[
|
2023-08-09 20:10:28 -04:00
|
|
|
(import "${home-manager}/nixos")
|
2023-06-15 17:03:09 -04:00
|
|
|
];
|
|
|
|
|
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;
|
|
|
|
extraGroups = [ "wheel" "input" "adm" "mlocate" "video" ];
|
|
|
|
};
|
|
|
|
|
2023-06-24 04:59:54 -04:00
|
|
|
home-manager.useUserPackages = true;
|
2023-06-15 17:03:09 -04:00
|
|
|
home-manager.useGlobalPkgs = true;
|
|
|
|
programs.dconf.enable = true;
|
2023-06-24 04:59:54 -04:00
|
|
|
#############################################################################
|
|
|
|
|
|
|
|
home-manager.users.matt = {
|
|
|
|
|
|
|
|
imports = [
|
|
|
|
./hyprland.nix
|
2023-06-27 10:13:14 -04:00
|
|
|
./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
|
2023-06-24 04:59:54 -04:00
|
|
|
];
|
2023-06-15 17:03:09 -04:00
|
|
|
|
|
|
|
home.stateVersion = "23.05";
|
|
|
|
};
|
|
|
|
}
|