Compare commits

4 Commits

Author SHA1 Message Date
8681caca01 Some comments 2025-12-10 10:37:04 -08:00
80e3eccd32 Small webcam privacy warning for laptop 2025-12-10 10:17:47 -08:00
3ceb749239 Start testing k3s 2025-12-10 10:17:44 -08:00
b16e7664b0 Merge pull request #22 from caperren/working-branch
Added changes for homelab cube cluster, no longer using unstable branch for packages, improved sudoers entries
2025-12-07 21:38:03 -08:00
8 changed files with 36 additions and 4 deletions

View File

@@ -6,6 +6,9 @@
# Host Groups # Host Groups
../../modules/host-groups/cluster.nix ../../modules/host-groups/cluster.nix
# Application Groups
../../modules/application-groups/k3s-primary.nix
]; ];
networking.hostName = "cap-clust-01"; networking.hostName = "cap-clust-01";

View File

@@ -6,6 +6,9 @@
# Host Groups # Host Groups
../../modules/host-groups/cluster.nix ../../modules/host-groups/cluster.nix
# Application Groups
../../modules/application-groups/k3s-secondary.nix
]; ];
networking.hostName = "cap-clust-02"; networking.hostName = "cap-clust-02";

View File

@@ -6,6 +6,9 @@
# Host Groups # Host Groups
../../modules/host-groups/cluster.nix ../../modules/host-groups/cluster.nix
# Application Groups
../../modules/application-groups/k3s-primary.nix
]; ];
networking.hostName = "cap-clust-03"; networking.hostName = "cap-clust-03";

View File

@@ -0,0 +1,9 @@
{ config, pkgs, ... }:
{
services.k3s = {
enable = true;
role = "server";
token = "forinitialtestingonly";
clusterInit = true;
};
}

View File

@@ -0,0 +1,9 @@
{ config, pkgs, ... }:
{
services.k3s = {
enable = true;
role = "server"; # Or "agent" for worker only nodes
token = "forinitialtestingonly";
serverAddr = "https://cap-clust-01:6443";
};
}

View File

@@ -32,6 +32,7 @@
imagemagick imagemagick
iotop iotop
jq jq
k3s
kdePackages.qt6ct kdePackages.qt6ct
killall killall
kitty kitty

View File

@@ -7,3 +7,6 @@ source = ~/.config/hypr/hyprland-common.conf
# Application launch # Application launch
exec-once = brightnessctl -sd platform::kbd_backlight set 1 exec-once = brightnessctl -sd platform::kbd_backlight set 1
exec-once = brightnessctl -s set 30% exec-once = brightnessctl -s set 30%
# Privacy
exec-once = sleep 10 && ls /dev/video1 &> /dev/null && notify-send "Laptop Webcam Enabled" "Please disable if not being used." -t 20000

View File

@@ -5,16 +5,17 @@ profile builtin_only {
} }
profile bedroom_desk { profile bedroom_desk {
# Top left to right ##### Top left to right
output "Dell Inc. DELL P2411H F8NDP11G0DVU" enable position 0,1280 output "Dell Inc. DELL P2411H F8NDP11G0DVU" enable position 0,1280
output "Acer Technologies CB292CU 2217018D42410" enable position 1920,0 transform 90 output "Acer Technologies CB292CU 2217018D42410" enable position 1920,0 transform 90
output "Dell Inc. DELL P2411H F8NDP097114U" enable position 3000,1280 output "Dell Inc. DELL P2411H F8NDP097114U" enable position 3000,1280
# Bottom left to right ##### Bottom left to right
output "Aculab Ltd Digital Unknown" enable transform 270 position 0,2360 output "Aculab Ltd Digital Unknown" enable transform 270 position 0,2360
# Primary monitor, which wayland doesn't have a concept of
output "Hewlett Packard HP Z27n CNK7311DRR" enable position 1440,2560 output "Hewlett Packard HP Z27n CNK7311DRR" enable position 1440,2560
output "Aculab Ltd QHD270 Unknown" enable transform 90 position 4000,2360 output "Aculab Ltd QHD270 Unknown" enable transform 90 position 4000,2360
# Far bottom right (laptop itself) ##### Far bottom right (laptop itself)
output "BOE 0x0A9B Unknown" enable position 5440,2360 adaptive_sync on output "BOE 0x0A9B Unknown" enable position 5440,2360 adaptive_sync on
} }