17 lines
396 B
Nix
17 lines
396 B
Nix
# SPDX-FileCopyrightText: 2021 Luke Granger-Brown <depot@lukegb.com>
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
{ depot, ... }@args:
|
|
let
|
|
cfg = configName: configPath: { ... }: {
|
|
_module.args = args // {
|
|
inherit configName;
|
|
};
|
|
imports = [ configPath ];
|
|
};
|
|
in
|
|
{
|
|
base = cfg "base" nixos/lib/home-manager/common.nix;
|
|
client = cfg "client" nixos/lib/home-manager/client.nix;
|
|
}
|