20 lines
412 B
Nix
20 lines
412 B
Nix
args@{ inputs, lib, pkgs, config, options, ... }: let
|
|
inherit (lib.my) mapModulesRec';
|
|
in
|
|
{
|
|
imports = []
|
|
++(mapModulesRec' ../modules/home (file: (import file (args // { user = "root"; }))));
|
|
|
|
config = {
|
|
modules.root = {
|
|
user = {
|
|
full_name = "__ROOT__";
|
|
email = "__ROOT__@${config.networking.hostName}";
|
|
};
|
|
|
|
shell = {
|
|
default = "zsh";
|
|
};
|
|
};
|
|
};
|
|
}
|