formatting
This commit is contained in:
parent
64fcff10aa
commit
48387d08e3
14 changed files with 129 additions and 111 deletions
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
lib,
|
||||
config,
|
||||
inputs,
|
||||
inputs,
|
||||
outputs,
|
||||
helperLib,
|
||||
pkgs,
|
||||
|
|
@ -10,7 +10,7 @@
|
|||
cfg = config.myNixOS;
|
||||
in {
|
||||
options.myNixOS.home-users = lib.mkOption {
|
||||
type = lib.types.attrsOf ( lib.types.submodule {
|
||||
type = lib.types.attrsOf (lib.types.submodule {
|
||||
options = {
|
||||
userConfig = lib.mkOption {
|
||||
example = "home.nix";
|
||||
|
|
@ -37,13 +37,13 @@ in {
|
|||
outputs = inputs.self.outputs;
|
||||
};
|
||||
|
||||
users =
|
||||
users =
|
||||
builtins.mapAttrs (name: user: {...}: {
|
||||
imports = [
|
||||
(import user.userConfig)
|
||||
outputs.homeManagerModules.default
|
||||
];
|
||||
})
|
||||
})
|
||||
(config.myNixOS.home-users);
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue