30 lines
589 B
Nix
30 lines
589 B
Nix
|
{
|
||
|
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";
|
||
|
};
|
||
|
}
|
||
|
];
|
||
|
};
|
||
|
}
|