28 lines
398 B
Nix
28 lines
398 B
Nix
{
|
|
inputs,
|
|
username,
|
|
domain,
|
|
nixpath,
|
|
...
|
|
}: let
|
|
mail = {
|
|
a = "contact";
|
|
b = "mail";
|
|
c = "spyware";
|
|
};
|
|
in {
|
|
home-manager = {
|
|
extraSpecialArgs = {
|
|
inherit inputs;
|
|
inherit username;
|
|
inherit mail;
|
|
inherit domain;
|
|
inherit nixpath;
|
|
};
|
|
users = {
|
|
"${username}" = import ./user.nix;
|
|
"root" = import ./root.nix;
|
|
};
|
|
};
|
|
}
|