mirror of
https://github.com/genebean/dots.git
synced 2026-03-27 01:17:42 -04:00
25 lines
648 B
Nix
25 lines
648 B
Nix
{ config, username, ... }: {
|
|
imports = [
|
|
../../../common/linux/lets-encrypt.nix
|
|
./nginx.nix
|
|
];
|
|
|
|
sops = {
|
|
age.keyFile = "${config.users.users.${username}.home}/.config/sops/age/keys.txt";
|
|
defaultSopsFile = ../secrets.yaml;
|
|
secrets = {
|
|
local_git_config = {
|
|
owner = "${username}";
|
|
path = "${config.users.users.${username}.home}/.gitconfig-local";
|
|
};
|
|
local_private_env = {
|
|
owner = "${username}";
|
|
path = "${config.users.users.${username}.home}/.private-env";
|
|
};
|
|
tailscale_key = {
|
|
restartUnits = [ "tailscaled-autoconnect.service" ];
|
|
};
|
|
};
|
|
};
|
|
}
|
|
|