mirror of
https://github.com/genebean/dots.git
synced 2026-03-27 01:17:42 -04:00
Make home manager config work cross-platform
This commit is contained in:
parent
77ebe6ddd5
commit
516036541b
3 changed files with 13 additions and 6 deletions
|
|
@ -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};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue