nix/modules/programs/default.nix
2024-11-17 17:51:11 +01:00

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;
};
};
}