Introduce a "user" module that can be interpolated everywhere.
Signed-off-by: Mariano Uvalle <juvallegarza@microsoft.com>
This commit is contained in:
parent
c6aad094b0
commit
4c8cd258c1
5 changed files with 60 additions and 20 deletions
|
|
@ -159,14 +159,15 @@
|
|||
modules = [
|
||||
./hosts/msft-mac/configuration.nix
|
||||
home-manager.darwinModules.home-manager
|
||||
{
|
||||
({ config, ... }: {
|
||||
home-manager.extraSpecialArgs = {
|
||||
pkgs-unstable = pkgs-unstable_aarch64-darwin;
|
||||
inherit (config) user;
|
||||
};
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.users.jmug.imports = [ ./hosts/msft-mac/home.nix ];
|
||||
}
|
||||
})
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue