nix/modules/programs/default.nix
2024-11-17 18:31:53 +01:00

30 lines
440 B
Nix

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