dotfiles/system/wsl2/default.nix

17 lines
434 B
Nix
Raw Normal View History

{ inputs, system, username }:
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
inputs.home-manager.lib.homeManagerConfiguration {
inherit pkgs;
modules = [
{ imports = [ shared-config ]; }
{ home.packages = shared-packages; }
];
}