Create 6 new NixOS modules to reduce duplication across system configs: - hardware/wooting: Wooting keyboard udev rules and Bluetooth compat - services/nginx-base: Common nginx server settings - services/acme-base: ACME certificate defaults - services/xremap: Key remapping with sensible defaults - system/no-sleep: Disable sleep/suspend/hibernate targets - system/kernel-tweaks: PM freeze timeout and zram configuration Update system configuration files to use these new modules. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
67 lines
1.4 KiB
Nix
67 lines
1.4 KiB
Nix
{
|
|
config,
|
|
...
|
|
}:
|
|
{
|
|
sops.secrets.internetbs = {
|
|
sopsFile = ../../../.secrets/hetzner/internetbs.yaml; # bring your own password file
|
|
};
|
|
|
|
metacfg.services.acmeBase.credentialsFile = config.sops.secrets.internetbs.path;
|
|
|
|
security.acme.certs = {
|
|
"surfsite.org" = {
|
|
extraDomainNames = [ "*.surfsite.org" ];
|
|
};
|
|
|
|
"hartwin-hoyer.de" = {
|
|
extraDomainNames = [ "*.hartwin-hoyer.de" ];
|
|
};
|
|
|
|
"herward-hoyer.de" = {
|
|
extraDomainNames = [ "*.herward-hoyer.de" ];
|
|
};
|
|
|
|
"varlink.org" = {
|
|
extraDomainNames = [ "*.varlink.org" ];
|
|
};
|
|
|
|
"meike-hoyer.de" = { };
|
|
|
|
"hoyer.xyz" = {
|
|
extraDomainNames = [
|
|
"*.hoyer.xyz"
|
|
"*.harald.hoyer.xyz"
|
|
"*.hartwin.hoyer.xyz"
|
|
];
|
|
};
|
|
|
|
"hoyer.world" = {
|
|
extraDomainNames = [
|
|
"*.hoyer.world"
|
|
"*.harald.hoyer.world"
|
|
"*.hartwin.hoyer.world"
|
|
];
|
|
};
|
|
|
|
"hoyer.social" = {
|
|
extraDomainNames = [
|
|
"*.hoyer.social"
|
|
"*.harald.hoyer.social"
|
|
"*.hartwin.hoyer.social"
|
|
];
|
|
};
|
|
|
|
"hoyer.photos" = {
|
|
extraDomainNames = [
|
|
"*.hoyer.photos"
|
|
"*.harald.hoyer.photos"
|
|
"*.hartwin.hoyer.photos"
|
|
];
|
|
};
|
|
|
|
"harald-hoyer.de" = {
|
|
extraDomainNames = [ "*.harald-hoyer.de" ];
|
|
};
|
|
};
|
|
}
|