roy-config
This commit is contained in:
+6
-10
@@ -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";
|
||||
|
||||
Regular → Executable
@@ -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
Regular → Executable
Reference in New Issue
Block a user