Skip to content

Commit 9ea8f71

Browse files
Merge branch 'Vanderscycle:main' into main
2 parents 1fe0dc7 + 1beb72b commit 9ea8f71

File tree

8 files changed

+70
-57
lines changed

8 files changed

+70
-57
lines changed

nix-darwin/home-modules/window-managers/hyprland/hyprland.nix

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -198,26 +198,28 @@
198198
];
199199
windowrule = [
200200
"workspace 1, Emacs"
201+
"workspace 1, emacs"
201202
"workspace 2, firefox"
202-
"workspace 2, Brave"
203+
"workspace 2, Brave-browser" # Updated to match the class name for Brave
203204
"workspace 3, discord"
204205
"workspace 3, Spotify"
205206
"workspace 3, spotify"
206-
"workspace 3, Slack"
207207
"workspace 4, steam"
208208
"workspace 4, Steam"
209209
"workspace 5, SuperSlicer"
210210
"workspace 5, OrcaSlicer"
211-
"workspace 6, Transmission"
211+
"workspace 6, transmission-gtk" # Updated to match the class name for Transmission
212212
"pseudo,fcitx"
213213
];
214214

215215
windowrulev2 = [
216-
# steam
217-
"float, class:^([Ss]team)$, title:^((?![Ss]team).*)$"
218-
"workspace 4 silent, class:^([Ss]team)$, title:^([Ss]team)$"
219-
"tile, class:^([Ss]team)$, title:^([Ss]team)$"
220-
"workspace 4 silent, class:^([Ss]team)$ title:^(notificationtoasts_.*)$"
216+
# Steam rules
217+
"float, class:^([Ss]team)$, title:^((?![Ss]team).*)$" # Float non-Steam windows (e.g., game launchers)
218+
"workspace 4 silent, class:^([Ss]team)$, title:^([Ss]team)$" # Move Steam to workspace 4
219+
"tile, class:^([Ss]team)$, title:^([Ss]team)$" # Tile the main Steam window
220+
"workspace 4 silent, class:^([Ss]team)$, title:^(notificationtoasts_.*)$" # Move Steam notifications to workspace 4
221+
"nofocus, class:^([Ss]team)$, title:^((?![Ss]team).*)$" # Prevent non-Steam windows from stealing focus
222+
"noblur, class:^([Ss]team)$" # Ensure Steam window remains visible
221223
# orcaslicer
222224
# https://github.com/hyprwm/Hyprland/issues/6698
223225
"opacity 0.0 override 0.0 override,class:^(xwaylandvideobridge)$"
@@ -234,7 +236,9 @@
234236
# Or execute your favorite apps at launch like this:
235237

236238
exec-once = [
237-
"waybar & hyprpaper"
239+
"waybar"
240+
"hyprpaper"
241+
"blueman-applet"
238242
"/etc/profiles/per-user/henri/bin/emacs --daemon &"
239243
"swaync"
240244
"discord --enable-wayland-ime"

nix-darwin/users/henri/home.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
# programs
4040
flameshot.enable = true;
4141
brave.enable = true;
42-
firefox.enable = lib.mkForce false;
42+
firefox.enable = true; # lib.mkForce false;
4343

4444
plastic_printer = {
4545
enable = true;

nix-k8s-homelab/argocd/apps/support/base/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1
22
kind: Kustomization
33

44
resources:
5-
# - external-dns.yaml
5+
- external-dns.yaml
66
# - cert-manager.yaml
77
# - ingress-nginx.yaml
88
- metallb.yaml

nix-k8s-homelab/argocd/base/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ resources:
1212
- application-support.yaml
1313
- application-services.yaml
1414
- application-secrets.yaml
15-
- application-servers.yaml
15+
# - application-servers.yaml
1616
- application-monitoring.yaml
1717
- namespace.yaml
1818
# - argocd-repo.yaml

nix-k8s-homelab/charts/services/nextcloud/base/values.yaml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@
99
## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/
1010
##
1111
ingress:
12-
enabled: false
12+
enabled: true
1313
# className: nginx
1414
annotations:
1515
# nginx.ingress.kubernetes.io/ssl-passthrough: true
16-
nginx.ingress.kubernetes.io/force-ssl-redirect: true
16+
# nginx.ingress.kubernetes.io/force-ssl-redirect: true
1717
kubernetes.io/ingress.class: nginx
18-
cert-manager.io/cluster-issuer: "letsencrypt-cluster-issuer-non-prod"
18+
# cert-manager.io/cluster-issuer: "letsencrypt-cluster-issuer-non-prod"
1919
# nginx.ingress.kubernetes.io/rewrite-target: /
2020

2121
# nginx.ingress.kubernetes.io/proxy-body-size: 4G
@@ -44,16 +44,18 @@ ingress:
4444
# location ~ ^/(?:autotest|occ|issue|indie|db_|console) {
4545
# deny all;
4646
# }
47-
tls:
48-
- secretName: nextcloud-tls
49-
hosts:
50-
- nextcloud.vandersleyen.dev
47+
# tls:
48+
# - secretName: nextcloud-tls
49+
# hosts:
50+
# - nextcloud.homelab.com
5151
labels: {}
5252
path: /
5353
pathType: Prefix
5454

5555
service:
5656
type: LoadBalancer
57+
annotations:
58+
external-dns.alpha.kubernetes.io/hostname: nextcloud.vandersleyen.dev
5759
nextcloud:
5860
trustedDomains:
5961
- nextcloud.vandersleyen.dev

nix-k8s-homelab/charts/support/external-dns/base/kustomization.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,14 @@ kind: Kustomization
33

44
namespace: external-dns
55

6-
resources:
7-
- secrets
6+
# resources:
7+
# - secrets # applied manually
88

99
helmCharts:
1010
- name: external-dns
11-
version: 8.7.3
12-
repo: oci://registry-1.docker.io/bitnamicharts
11+
version: 1.15.2
12+
repo: https://kubernetes-sigs.github.io/external-dns/
13+
# repo: oci://registry-1.docker.io/bitnamicharts
1314
valuesFile: values.yaml
1415
namespace: external-dns
1516
releaseName: support

nix-k8s-homelab/charts/support/external-dns/base/secrets/sealed-secret.yaml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,14 @@
22
apiVersion: bitnami.com/v1alpha1
33
kind: SealedSecret
44
metadata:
5-
annotations:
6-
sealedsecrets.bitnami.com/cluster-wide: "true"
75
creationTimestamp: null
86
name: support-external-dns
97
namespace: external-dns
108
spec:
119
encryptedData:
12-
pihole_password: AgBlNUWcKLKkFZk3ge+12GcwU4QDP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mNEOxG2p9+GLpLP4W4WknIbSPz8beSSfG4x4gibxAOAbD/p9QmhZlY+NJFhttOuYZP04xKa7GiEp+vuDr8qsgZ04M8wgeYRQsvC4Ssle3EXW4xqaSrCk50HEEbfQIk1sg9/2TKHV6ecY5enaDrGnKvKgbH/0dXUnmS63ptDx/jkSWvc2l8Ie1xYtP4DIb2SSg+w6F1/7TqsbSDjWj1Q7ELFLBPqv8Jrss8lP9Z87v6Cpd/IoeNgsdsZxvPCXrWjsuMH+KHUGdyG6cj083o8y4SXwvtpJvoOL/czbaHMz/5Jc8amAHbPdjckJ2CPM0NmMVgaaeubd4qxio7va16DMyCKyHi0tn7QsoSAp5xRfjPpzJ30EiZlqe0FvipVXgeZq1V/H7+U74FgIMEPjThIPKvOPpqifkgbqFaD2IFk8QQlFp1nMtvWTGDY0ZuvXF9Zv73NGAiREjjLlg==
1311
template:
1412
metadata:
15-
annotations:
16-
sealedsecrets.bitnami.com/cluster-wide: "true"
1713
creationTimestamp: null
1814
name: support-external-dns
1915
namespace: external-dns

nix-k8s-homelab/charts/support/external-dns/base/values.yaml

Lines changed: 39 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -2,32 +2,42 @@
22
## This is a YAML-formatted file.
33
## Declare variables to be passed into your templates.
44

5-
## Linode configuration to be set via arguments/env. variables
6-
##
7-
# linode:
8-
## @param linode.apiToken When using the Linode provider, `LINODE_TOKEN` to set (optional)
9-
##
10-
# apiToken: ""
11-
## @param linode.secretName Use an existing secret with key "linode_api_token" defined.
12-
## This ignores linode.apiToken
13-
##
14-
# secretName: "external-dns-secret"
15-
16-
## Pi-hole configuration to be set via arguments/env. variables
17-
##
18-
logLevel: "debug"
19-
provider: "pihole"
20-
registry: "noop"
21-
pihole:
22-
## @param pihole.server When using the Pi-hole provider, specify The address of the Pi-hole web server
23-
##
24-
server: "http://192.168.1.152"
25-
## @param pihole.tlsSkipVerify When using the Pi-hole provider, specify wheter to skip verification of any TLS certificates served by the Pi-hole web server
26-
##
27-
tlsSkipVerify: ""
28-
## @param pihole.password When using the Pi-hole provider, specify a password to use
29-
##
30-
# password: "replaceme" # has to be the api key from pihole
31-
## @param pihole.secretName Use an existing secret with key "pihole_password" defined.
32-
##
33-
secretName: "support-external-dns"
5+
fullnameOverride: external-dns-unifi
6+
logLevel: &logLevel debug
7+
provider:
8+
name: webhook
9+
webhook:
10+
image:
11+
repository: ghcr.io/kashalls/external-dns-unifi-webhook
12+
tag: v0.4.2 # replace with a versioned release tag
13+
env:
14+
- name: UNIFI_HOST
15+
value: https://192.168.1.1 # replace with the address to your UniFi router/controller
16+
- name: UNIFI_EXTERNAL_CONTROLLER
17+
value: "false"
18+
- name: UNIFI_API_KEY
19+
valueFrom:
20+
secretKeyRef:
21+
name: support-external-dns
22+
key: unifi_api_key
23+
- name: LOG_LEVEL
24+
value: *logLevel
25+
livenessProbe:
26+
httpGet:
27+
path: /healthz
28+
port: http-webhook
29+
initialDelaySeconds: 10
30+
timeoutSeconds: 5
31+
readinessProbe:
32+
httpGet:
33+
path: /readyz
34+
port: http-webhook
35+
initialDelaySeconds: 10
36+
timeoutSeconds: 5
37+
extraArgs:
38+
- --ignore-ingress-tls-spec
39+
policy: sync
40+
sources: ["ingress", "service"]
41+
txtOwnerId: default
42+
txtPrefix: k8s.
43+
domainFilters: ["vandersleyen.dev"] # replace with your domain

0 commit comments

Comments
 (0)