dots/modules/hosts/nixos/hetznix02/post-install/default.nix
Gene Liverman 5dbcce7686
Add linting, formatting, and CI infrastructure
- Add deadnix, nixfmt, and statix to flake inputs
- Add formatter output to flake for nix fmt support
- Add deadnix, nixfmt, statix to Home Manager packages
- Add GitHub Actions workflow for CI validation
- Add .pre-commit-config.yaml with hooks for nixfmt, deadnix, and statix
- Support x86_64-darwin in formatter
2026-03-22 18:32:20 -04:00

26 lines
671 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_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" ];
};
};
};
}