nix/modules/programs/default.nix

28 lines
398 B
Nix
Raw Normal View History

2024-11-08 18:23:40 +01:00
{
inputs,
username,
domain,
2024-11-09 16:24:20 +01:00
nixpath,
2024-11-08 18:23:40 +01:00
...
}: let
mail = {
a = "contact";
b = "mail";
c = "spyware";
};
in {
2024-10-04 22:32:42 +02:00
home-manager = {
2024-11-08 18:23:40 +01:00
extraSpecialArgs = {
inherit inputs;
inherit username;
inherit mail;
inherit domain;
2024-11-09 16:24:20 +01:00
inherit nixpath;
2024-11-08 18:23:40 +01:00
};
2024-10-04 22:32:42 +02:00
users = {
2024-11-17 17:51:11 +01:00
"${username}" = import ./user.nix;
2024-11-05 19:55:59 +01:00
"root" = import ./root.nix;
2024-10-04 22:32:42 +02:00
};
};
2024-08-31 16:04:57 +02:00
}