2021-06-06 13:22:44 +00:00
|
|
|
{
|
2023-01-28 20:49:10 +00:00
|
|
|
config,
|
|
|
|
pkgs,
|
2023-11-10 18:48:06 +00:00
|
|
|
lib,
|
|
|
|
flake,
|
2023-01-28 20:49:10 +00:00
|
|
|
...
|
|
|
|
}:
|
|
|
|
let
|
|
|
|
psCfg = config.pub-solar;
|
2023-11-10 18:48:06 +00:00
|
|
|
xdg = config.home-manager.users.${psCfg.user.name}.xdg;
|
2023-01-28 20:49:10 +00:00
|
|
|
in
|
|
|
|
{
|
2021-06-06 13:22:44 +00:00
|
|
|
imports = [ ./home.nix ];
|
|
|
|
|
|
|
|
config = {
|
2023-11-10 18:48:06 +00:00
|
|
|
age.secrets.environment-secrets = {
|
|
|
|
file = "${flake.self}/secrets/environment-secrets.age";
|
|
|
|
mode = "400";
|
|
|
|
owner = psCfg.user.name;
|
|
|
|
};
|
|
|
|
|
|
|
|
age.secrets.github-api-token = {
|
|
|
|
file = "${flake.self}/secrets/github-api-token.age";
|
|
|
|
mode = "400";
|
|
|
|
owner = psCfg.user.name;
|
|
|
|
path = "/home/${psCfg.user.name}/.local/share/github/api-token";
|
|
|
|
};
|
2021-09-21 20:27:53 +00:00
|
|
|
|
2021-06-06 13:22:44 +00:00
|
|
|
pub-solar = {
|
|
|
|
user = {
|
|
|
|
name = "teutat3s";
|
|
|
|
fullName = "teutat3s";
|
|
|
|
email = "10206665+teutat3s@users.noreply.github.com";
|
|
|
|
gpgKeyId = "18DAE600A6BBE705";
|
|
|
|
password = "$6$guLp1v0G0TxGThXX$y7YeEcYjFpN6gutLCbvAkqppOVLYZjfo4DxofrMm6a9MIjVoKKaY20UzityJsHbQU4THIFfj8gLWVOjyjL.P2.";
|
2023-02-25 12:53:19 +00:00
|
|
|
publicKeys = [
|
|
|
|
"ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBFro/k4Mgqyh8yV/7Zwjc0dv60ZM7bROBU9JNd99P/4co6fxPt1pJiU/pEz2Dax/HODxgcO+jFZfvPEuLMCeAl0= YubiKey #10593996 PIV Slot 9a"
|
|
|
|
];
|
2021-06-06 13:22:44 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|