2024-02-13 21:33:32 +00:00
|
|
|
{
|
|
|
|
inputs,
|
|
|
|
self,
|
|
|
|
system,
|
|
|
|
username,
|
|
|
|
}: let
|
2024-03-04 11:22:46 +00:00
|
|
|
pkgs = inputs.nixpkgs.legacyPackages.${system};
|
|
|
|
|
2024-03-17 00:28:38 +00:00
|
|
|
shared-config = import "${self}/lib/shared/home-manager.nix" {inherit inputs pkgs self username;};
|
|
|
|
shared-packages = import "${self}/lib/shared/home-manager-packages.nix" {inherit inputs pkgs;};
|
2023-08-09 20:43:47 +00:00
|
|
|
in
|
2024-02-13 21:33:32 +00:00
|
|
|
inputs.home-manager.lib.homeManagerConfiguration {
|
|
|
|
inherit pkgs;
|
2023-08-08 12:43:44 +00:00
|
|
|
|
2024-02-13 21:33:32 +00:00
|
|
|
modules = [
|
|
|
|
{
|
|
|
|
imports = [shared-config];
|
2023-08-14 16:49:20 +00:00
|
|
|
|
2024-02-13 21:33:32 +00:00
|
|
|
home.packages = shared-packages;
|
2023-08-14 16:49:20 +00:00
|
|
|
|
2024-02-13 21:33:32 +00:00
|
|
|
home.sessionVariables = {
|
|
|
|
EDITOR = "nvim";
|
|
|
|
PATH = "$PATH:./vendor/bin:./node_modules/.bin";
|
|
|
|
PULUMI_SKIP_UPDATE_CHECK = "true";
|
|
|
|
RIPGREP_CONFIG_PATH = "$HOME/.config/ripgrep/config";
|
|
|
|
};
|
|
|
|
}
|
|
|
|
];
|
|
|
|
}
|