mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-12 06:19:00 +00:00
lib/images: change mkUser
to mkHome
This commit is contained in:
parent
cf92d4584c
commit
305c54996f
@ -83,7 +83,7 @@
|
|||||||
users = lib'.importTOML ./users.toml;
|
users = lib'.importTOML ./users.toml;
|
||||||
|
|
||||||
# A set of image-related utilities for the flake outputs.
|
# 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(?).
|
# The order here is important(?).
|
||||||
overlays = [
|
overlays = [
|
||||||
@ -347,7 +347,7 @@
|
|||||||
path
|
path
|
||||||
];
|
];
|
||||||
in
|
in
|
||||||
mkUser {
|
mkHome {
|
||||||
inherit pkgs system extraModules extraArgs;
|
inherit pkgs system extraModules extraArgs;
|
||||||
home-manager-channel = metadata.home-manager-channel or "home-manager";
|
home-manager-channel = metadata.home-manager-channel or "home-manager";
|
||||||
})
|
})
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
# A wrapper around the home-manager configuration function.
|
# 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 {
|
inputs."${home-manager-channel}".lib.homeManagerConfiguration {
|
||||||
inherit lib pkgs;
|
inherit lib pkgs;
|
||||||
extraSpecialArgs = extraArgs;
|
extraSpecialArgs = extraArgs;
|
||||||
|
Loading…
Reference in New Issue
Block a user