Make home manager config work cross-platform

This commit is contained in:
Gene Liverman 2025-08-09 22:58:18 -04:00
parent 77ebe6ddd5
commit 516036541b
No known key found for this signature in database
3 changed files with 13 additions and 6 deletions

View file

@ -1,10 +1,10 @@
{ inputs, ... }: {
mkHomeConfig = {
system ? "x86_64-linux",
homeDirectory,
system,
username,
}: inputs.home-manager.lib.homeManagerConfiguration {
extraSpecialArgs = { inherit inputs homeDirectory username; };
extraSpecialArgs = { inherit inputs homeDirectory system username; };
pkgs = inputs.nixpkgs.legacyPackages.${system};