mirror of
https://github.com/genebean/dots.git
synced 2026-03-27 17:37:43 -04:00
Bits that require SOPS to be working have been pulled out into other files. Once the install is complete, these will be included in the base config.
20 lines
495 B
Nix
20 lines
495 B
Nix
{ username, ... }: {
|
|
sops = {
|
|
age.keyFile = /home/${username}/.config/sops/age/keys.txt;
|
|
defaultSopsFile = ./secrets.yaml;
|
|
secrets = {
|
|
local_git_config = {
|
|
owner = "${username}";
|
|
path = "/home/${username}/.gitconfig-local";
|
|
};
|
|
local_private_env = {
|
|
owner = "${username}";
|
|
path = "/home/${username}/.private-env";
|
|
};
|
|
tailscale_key = {
|
|
restartUnits = [ "tailscaled-autoconnect.service" ];
|
|
};
|
|
};
|
|
};
|
|
}
|
|
|