mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-30 03:56:12 +01:00
19 lines
350 B
Nix
19 lines
350 B
Nix
|
# SPDX-FileCopyrightText: 2022 Richard Brežák <richard@brezak.sk>
|
||
|
#
|
||
|
# SPDX-License-Identifier: LGPL-3.0-or-later
|
||
|
{
|
||
|
roots,
|
||
|
inputs,
|
||
|
lib,
|
||
|
options,
|
||
|
...
|
||
|
}:
|
||
|
with lib; {
|
||
|
config =
|
||
|
optionalAttrs (options ? "home-manager")
|
||
|
{
|
||
|
home-manager.useGlobalPkgs = true;
|
||
|
home-manager.extraSpecialArgs = {inherit roots inputs;};
|
||
|
};
|
||
|
}
|