nix-config/nix/home.nix

30 lines
589 B
Nix
Raw Normal View History

2023-10-14 18:53:32 +02:00
{
lib,
inputs,
nixpkgs,
home-manager,
hyprland,
split-monitor-workspaces,
vars,
...
}: let
system = "x86_64-linux"; # System Architecture
pkgs = nixpkgs.legacyPackages.${system};
in {
pacman = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
extraSpecialArgs = {inherit inputs vars hyprland;};
modules = [
# Modules Used
{
home = {
username = "${vars.user}";
homeDirectory = "/home/${vars.user}";
packages = [pkgs.home-manager];
stateVersion = "23.05";
};
}
];
};
}