lib/images: change mkUser to mkHome

This commit is contained in:
Gabriel Arazas 2023-07-24 15:22:19 +08:00
parent cf92d4584c
commit 305c54996f
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC
2 changed files with 3 additions and 3 deletions

View File

@ -83,7 +83,7 @@
users = lib'.importTOML ./users.toml;
# A set of image-related utilities for the flake outputs.
inherit (import ./lib/images.nix { inherit inputs; lib = lib'; }) mkHost mkUser mkImage;
inherit (import ./lib/images.nix { inherit inputs; lib = lib'; }) mkHost mkHome mkImage;
# The order here is important(?).
overlays = [
@ -347,7 +347,7 @@
path
];
in
mkUser {
mkHome {
inherit pkgs system extraModules extraArgs;
home-manager-channel = metadata.home-manager-channel or "home-manager";
})

View File

@ -18,7 +18,7 @@
};
# A wrapper around the home-manager configuration function.
mkUser = { pkgs, system, extraModules ? [ ], extraArgs ? { }, home-manager-channel ? "home-manager" }:
mkHome = { pkgs, system, extraModules ? [ ], extraArgs ? { }, home-manager-channel ? "home-manager" }:
inputs."${home-manager-channel}".lib.homeManagerConfiguration {
inherit lib pkgs;
extraSpecialArgs = extraArgs;