nix: make abbreviation depend on hostname

This commit is contained in:
Léana 江 2024-03-16 13:42:04 +01:00 committed by Léana 江
parent 8a9f4f9b4c
commit c030643b26
2 changed files with 9 additions and 5 deletions

View file

@ -101,7 +101,7 @@
};
mkHomeManager = name: sys: opts: let
args = mkArgs sys;
args = mkArgs sys // {hostname = name;};
in
home-manager.lib.homeManagerConfiguration {
pkgs = args.pkgs;