2023-08-09 20:43:47 +00:00
|
|
|
{ inputs, system, username }:
|
2023-03-22 23:47:48 +00:00
|
|
|
|
2023-08-09 20:43:47 +00:00
|
|
|
let
|
|
|
|
pkgs = inputs.nixpkgs.legacyPackages."${system}";
|
|
|
|
|
|
|
|
shared-config = import ../shared/home-manager.nix { inherit inputs pkgs username; };
|
|
|
|
shared-packages = import ../shared/home-manager-packages.nix { inherit inputs pkgs; };
|
|
|
|
in
|
2023-08-07 21:27:54 +00:00
|
|
|
inputs.home-manager.lib.homeManagerConfiguration {
|
2023-08-09 20:43:47 +00:00
|
|
|
inherit pkgs;
|
2023-08-08 12:43:44 +00:00
|
|
|
|
2023-08-07 21:27:54 +00:00
|
|
|
modules = [
|
2023-08-09 20:43:47 +00:00
|
|
|
{ imports = [ shared-config ]; }
|
|
|
|
{ home.packages = shared-packages; }
|
2023-03-22 23:47:48 +00:00
|
|
|
];
|
|
|
|
}
|