mirror of
https://github.com/genebean/dots.git
synced 2026-05-30 23:35:22 -04:00
22 lines
530 B
Nix
22 lines
530 B
Nix
{ config, username, ... }:
|
|
{
|
|
imports = [
|
|
../../../../shared/nixos/lets-encrypt.nix
|
|
./monitoring.nix
|
|
./nginx.nix
|
|
];
|
|
|
|
sops = {
|
|
age.keyFile = "${config.users.users.${username}.home}/.config/sops/age/keys.txt";
|
|
defaultSopsFile = ../secrets.yaml;
|
|
secrets = {
|
|
local_private_env = {
|
|
owner = "${username}";
|
|
path = "${config.users.users.${username}.home}/.private-env";
|
|
};
|
|
tailscale_key = {
|
|
restartUnits = [ "tailscaled-autoconnect.service" ];
|
|
};
|
|
};
|
|
};
|
|
}
|