nix/modules/programs/default.nix
2024-11-09 16:24:20 +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 ./home.nix;
"root" = import ./root.nix;
};
};
}