roy-config

This commit is contained in:
2026-05-19 21:44:40 -05:00
parent e7c70df6e9
commit d071c00946
6 changed files with 13 additions and 10 deletions
+6 -10
View File
@@ -73,9 +73,9 @@ in
acceptTerms = true;
defaults = {
# use staging for testing
server = "https://acme-staging-v02.api.letsencrypt.org/directory";
# server = "https://acme-staging-v02.api.letsencrypt.org/directory";
# use prod for deploy
# server = "https://acme-v02.api.letsencrypt.org/directory";
server = "https://acme-v02.api.letsencrypt.org/directory";
email = "roydumblauskas@gmail.com";
dnsProvider = "cloudflare";
# When the service CHECKS to see if certs are near expiry (< 30 days)
@@ -85,26 +85,22 @@ in
CF_API_KEY_FILE = config.sops.secrets."cloudflare-api-key".path;
};
};
# only generate for static site
certs = {
"roypository.com" = {
domain = "*.roypository.com";
domain = "nimh.roypository.com";
group = "nginx";
};
};
};
# Setup vhosts via nginx
# all more complicated should route
# through k3s traefic
services.nginx = {
enable = true;
logError = "stderr";
virtualHosts."roypository.com" = {
forceSSL = true;
useACMEHost = "roypository.com";
locations = { };
};
virtualHosts."nimh.roypository.com" = {
forceSSL = true;
useACMEHost = "roypository.com";
View File
@@ -0,0 +1,3 @@
#!/bin/sh
monitor=$(hyprctl monitors -j | jq -r 'first(.[] | select(.focused == false) | .name)')
hyprctl dispatch movecurrentworkspacetomonitor $monitor
@@ -0,0 +1,4 @@
#!/bin/sh
monitor=$(hyprctl monitors -j | jq -r 'first(.[] | select(.focused == false) | .name)')
hyprctl dispatch focusmonitor $monitor
Regular → Executable
View File
View File