From 85e1ecd46a65cb84ee985d116cadcf3772efc321 Mon Sep 17 00:00:00 2001 From: Corwin Perren Date: Fri, 7 Nov 2025 15:23:10 -0800 Subject: [PATCH 1/8] Removed waydroid, enabled docker socket compat and added self to group, default to shutting phone screen off on rdp disconnect --- modules/application-groups/android.nix | 1 - modules/application-groups/virtualization.nix | 1 + users/caperren/caperren.nix | 13 +++++++------ .../.local/share/applications/phonerdp.desktop | 2 +- 4 files changed, 9 insertions(+), 8 deletions(-) diff --git a/modules/application-groups/android.nix b/modules/application-groups/android.nix index df68489..5b19520 100644 --- a/modules/application-groups/android.nix +++ b/modules/application-groups/android.nix @@ -1,5 +1,4 @@ { config, pkgs, ... }: { programs.adb.enable = true; - virtualisation.waydroid.enable = true; } diff --git a/modules/application-groups/virtualization.nix b/modules/application-groups/virtualization.nix index 385dace..7e25576 100644 --- a/modules/application-groups/virtualization.nix +++ b/modules/application-groups/virtualization.nix @@ -3,6 +3,7 @@ virtualisation.podman = { enable = true; dockerCompat = true; + dockerSocket.enable = true; }; environment.systemPackages = with pkgs; [ diff --git a/users/caperren/caperren.nix b/users/caperren/caperren.nix index 6dd8754..fe5e10d 100644 --- a/users/caperren/caperren.nix +++ b/users/caperren/caperren.nix @@ -13,12 +13,13 @@ in isNormalUser = true; description = "Corwin Perren"; extraGroups = [ - "networkmanager" - "wheel" - "input" - "dialout" - "plugdev" "adbusers" + "dialout" + "input" + "networkmanager" + "plugdev" + "podman" + "wheel" ]; }; @@ -90,7 +91,7 @@ in # Custom bash aliases home.shellAliases = { # Phone remote desktop over usb (adb), with some default flags I want - phonerdp = "scrcpy --no-audio --orientation=0 --turn-screen-off --stay-awake"; + phonerdp = "scrcpy --no-audio --orientation=0 --turn-screen-off --stay-awake --power-off-on-close"; # Streamdeck isn't easy to manually edit, so make a save command to copy any updates to the repo savestreamdeck = "cp ~/.streamdeck_ui.json ~/.nixos-configs/users/caperren/dotfiles/streamdeck/.streamdeck_ui.json"; diff --git a/users/caperren/dotfiles/.local/share/applications/phonerdp.desktop b/users/caperren/dotfiles/.local/share/applications/phonerdp.desktop index 0c16e77..fe8e82c 100644 --- a/users/caperren/dotfiles/.local/share/applications/phonerdp.desktop +++ b/users/caperren/dotfiles/.local/share/applications/phonerdp.desktop @@ -1,7 +1,7 @@ [Desktop Entry] Type=Application Name=Phone RDP -Exec=bash -c "scrcpy --no-audio --orientation=0 --turn-screen-off --stay-awake" +Exec=bash -c "scrcpy --no-audio --orientation=0 --turn-screen-off --stay-awake --power-off-on-close" Icon=phonerdp Terminal=false Categories=Utilities; \ No newline at end of file From 3392366413ddf2c07f3af930076f82daa724a4fb Mon Sep 17 00:00:00 2001 From: Corwin Perren Date: Fri, 7 Nov 2025 15:41:57 -0800 Subject: [PATCH 2/8] Added virtualization container policy config --- modules/application-groups/virtualization.nix | 5 +++++ users/caperren/caperren.nix | 1 + users/caperren/dotfiles/.config/containers/policy.json | 7 +++++++ 3 files changed, 13 insertions(+) create mode 100644 users/caperren/dotfiles/.config/containers/policy.json diff --git a/modules/application-groups/virtualization.nix b/modules/application-groups/virtualization.nix index 7e25576..b536f19 100644 --- a/modules/application-groups/virtualization.nix +++ b/modules/application-groups/virtualization.nix @@ -1,5 +1,10 @@ { config, pkgs, ... }: { + + virtualisation.containers.policy = { + default = [ { type = "insecureAcceptAnything"; } ]; + + }; virtualisation.podman = { enable = true; dockerCompat = true; diff --git a/users/caperren/caperren.nix b/users/caperren/caperren.nix index fe5e10d..7859e7e 100644 --- a/users/caperren/caperren.nix +++ b/users/caperren/caperren.nix @@ -56,6 +56,7 @@ in home.file.".config/hypr/scripts".source = ./dotfiles/.config/hypr/scripts; # Application config files + home.file.".config/containers/policy.json".source = ./dotfiles/.config/containers/policy.json; home.file.".config/glances/glances.conf".source = ./dotfiles/.config/glances/glances.conf; home.file.".config/hypr/hypridle.conf".source = ./dotfiles/hypridle/hypridle.conf; home.file.".config/hypr/hyprpaper.conf".source = ./dotfiles/hyprpaper/hyprpaper.conf; diff --git a/users/caperren/dotfiles/.config/containers/policy.json b/users/caperren/dotfiles/.config/containers/policy.json new file mode 100644 index 0000000..a4c2e1f --- /dev/null +++ b/users/caperren/dotfiles/.config/containers/policy.json @@ -0,0 +1,7 @@ +{ + "default": [ + { + "type": "insecureAcceptAnything" + } + ] +} \ No newline at end of file From 05b706e37fe7c5ff627d8bb0f6c329cba9cc6cda Mon Sep 17 00:00:00 2001 From: Corwin Perren Date: Fri, 14 Nov 2025 15:17:27 -0800 Subject: [PATCH 3/8] Switched to docker for virtualization, added itch games launcher --- modules/application-groups/gaming.nix | 1 + modules/application-groups/virtualization.nix | 10 +--------- users/caperren/caperren.nix | 1 + 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/modules/application-groups/gaming.nix b/modules/application-groups/gaming.nix index 33ff874..2c435d6 100644 --- a/modules/application-groups/gaming.nix +++ b/modules/application-groups/gaming.nix @@ -27,6 +27,7 @@ environment.systemPackages = with pkgs; [ bs-manager heroic + itch monado ]; } diff --git a/modules/application-groups/virtualization.nix b/modules/application-groups/virtualization.nix index b536f19..96c2fe1 100644 --- a/modules/application-groups/virtualization.nix +++ b/modules/application-groups/virtualization.nix @@ -1,18 +1,10 @@ { config, pkgs, ... }: { + virtualisation.docker.enable = true; virtualisation.containers.policy = { default = [ { type = "insecureAcceptAnything"; } ]; }; - virtualisation.podman = { - enable = true; - dockerCompat = true; - dockerSocket.enable = true; - }; - - environment.systemPackages = with pkgs; [ - distrobox - ]; } diff --git a/users/caperren/caperren.nix b/users/caperren/caperren.nix index 7859e7e..190e7c3 100644 --- a/users/caperren/caperren.nix +++ b/users/caperren/caperren.nix @@ -15,6 +15,7 @@ in extraGroups = [ "adbusers" "dialout" + "docker" "input" "networkmanager" "plugdev" From 379f0395912102f9964f569ae9e9c8d4c9b6f6db Mon Sep 17 00:00:00 2001 From: Corwin Perren Date: Sun, 16 Nov 2025 12:10:42 -0800 Subject: [PATCH 4/8] Autolaunch itch --- users/caperren/dotfiles/hyprland/hyprland-common.conf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/users/caperren/dotfiles/hyprland/hyprland-common.conf b/users/caperren/dotfiles/hyprland/hyprland-common.conf index 8f97c0d..ed6551c 100644 --- a/users/caperren/dotfiles/hyprland/hyprland-common.conf +++ b/users/caperren/dotfiles/hyprland/hyprland-common.conf @@ -183,4 +183,6 @@ exec-once = waybar # Wayland specific status bar exec-once = sleep 5 && nm-applet # Traditional notifications area exec-once = sleep 5 && blueman-applet # Traditional bluetooth management tool exec-once = sleep 5 && streamdeck -n # Streamdeck management tool -exec-once = sleep 5 && Telegram -startintray # Gotta keep in touch with peeps \ No newline at end of file +exec-once = sleep 5 && Telegram -startintray # Gotta keep in touch with peeps + +exec-once = sleep 10 && itch \ No newline at end of file From 1f27c34b0935d6f6d2bc078e031c659d44c936e2 Mon Sep 17 00:00:00 2001 From: Corwin Perren Date: Wed, 19 Nov 2025 23:18:54 -0800 Subject: [PATCH 5/8] Add dmidecode --- modules/application-groups/system-utilities.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/application-groups/system-utilities.nix b/modules/application-groups/system-utilities.nix index 150bda3..991b481 100644 --- a/modules/application-groups/system-utilities.nix +++ b/modules/application-groups/system-utilities.nix @@ -21,6 +21,7 @@ environment.systemPackages = with pkgs; [ btop-cuda desktop-file-utils + dmidecode dnsutils ffmpeg-full git From 447ad9e12507fccef226397c2844e2e9404b0b0b Mon Sep 17 00:00:00 2001 From: Corwin Perren Date: Thu, 4 Dec 2025 14:11:26 -0800 Subject: [PATCH 6/8] Re-enable pcb2gcode, make itch window autoclose after startup since the application setting for it doesn't work, update monitoring dashboard url for streamdeck --- modules/application-groups/pcb-design.nix | 2 +- users/caperren/dotfiles/hyprland/hyprland-common.conf | 3 ++- users/caperren/dotfiles/streamdeck/.streamdeck_ui.json | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/modules/application-groups/pcb-design.nix b/modules/application-groups/pcb-design.nix index f172cde..1758f81 100644 --- a/modules/application-groups/pcb-design.nix +++ b/modules/application-groups/pcb-design.nix @@ -2,7 +2,7 @@ { environment.systemPackages = with pkgs; [ kicad - #pcb2gcode + pcb2gcode ]; } diff --git a/users/caperren/dotfiles/hyprland/hyprland-common.conf b/users/caperren/dotfiles/hyprland/hyprland-common.conf index ed6551c..fb7e9b8 100644 --- a/users/caperren/dotfiles/hyprland/hyprland-common.conf +++ b/users/caperren/dotfiles/hyprland/hyprland-common.conf @@ -185,4 +185,5 @@ exec-once = sleep 5 && blueman-applet # Traditional bluetooth management tool exec-once = sleep 5 && streamdeck -n # Streamdeck management tool exec-once = sleep 5 && Telegram -startintray # Gotta keep in touch with peeps -exec-once = sleep 10 && itch \ No newline at end of file +exec-once = sleep 10 && itch +exec-once = sleep 15 && hyprctl dispatch closewindow 'title:itch' \ No newline at end of file diff --git a/users/caperren/dotfiles/streamdeck/.streamdeck_ui.json b/users/caperren/dotfiles/streamdeck/.streamdeck_ui.json index e12a2fe..9aee6d7 100644 --- a/users/caperren/dotfiles/streamdeck/.streamdeck_ui.json +++ b/users/caperren/dotfiles/streamdeck/.streamdeck_ui.json @@ -116,7 +116,7 @@ "icon": "/home/caperren/.config/streamdeck-ui/icons/unifi-camera-logo.png", "keys": "", "write": "", - "command": "google-chrome-stable --kiosk --start-fullscreen https://homeassistant.crestline.perren.cloud/house-dashboard/0?kiosk", + "command": "google-chrome-stable --kiosk --start-fullscreen http://192.168.1.36:8123/house-guest-bedroom-monitoring-dashboard", "brightness_change": 0, "switch_page": 0, "switch_state": 0, From b6a769c4fa4941fa4d75bcfbd417ebea4b402a30 Mon Sep 17 00:00:00 2001 From: Corwin Perren Date: Fri, 5 Dec 2025 01:09:26 -0800 Subject: [PATCH 7/8] Replaced old broken lg monitor with equivalent and working dell --- users/caperren/dotfiles/kanshi/cap-slim7/config | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/users/caperren/dotfiles/kanshi/cap-slim7/config b/users/caperren/dotfiles/kanshi/cap-slim7/config index 6c78dec..64359a7 100644 --- a/users/caperren/dotfiles/kanshi/cap-slim7/config +++ b/users/caperren/dotfiles/kanshi/cap-slim7/config @@ -8,8 +8,7 @@ profile bedroom_desk { # Top left to right output "Dell Inc. DELL P2411H F8NDP11G0DVU" enable position 0,1280 output "Acer Technologies CB292CU 2217018D42410" enable position 1920,0 transform 90 - output "DLOGIC Ltd. No Monitor USB_601e-21H1" enable position 3000,1280 - # output "DLOGIC Ltd. No Monitor USB_601e-21H1" mode --custom 1920x1080@60Hz enable position 3000,1280 + output "Dell Inc. DELL P2411H F8NDP097114U" enable position 3000,1280 # Bottom left to right output "Aculab Ltd Digital Unknown" enable transform 270 position 0,2360 @@ -19,8 +18,3 @@ profile bedroom_desk { # Far bottom right (laptop itself) output "BOE 0x0A9B Unknown" enable position 5440,2360 adaptive_sync on } - -profile scotts_apartment_tv { - output "BOE 0x0A9B Unknown" enable mode 2560x1600@165Hz position 0,0 adaptive_sync on - output "Hisense Electric Co., Ltd. HISENSE 0x00000001" enable mode 1920x1080@60Hz position 2560,0 -} From c23b3eae53ed3d15282a298576da7c83bfb6feb1 Mon Sep 17 00:00:00 2001 From: Corwin Perren Date: Fri, 5 Dec 2025 01:13:14 -0800 Subject: [PATCH 8/8] Comments --- users/caperren/dotfiles/hyprland/hyprland-common.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/users/caperren/dotfiles/hyprland/hyprland-common.conf b/users/caperren/dotfiles/hyprland/hyprland-common.conf index fb7e9b8..a9505eb 100644 --- a/users/caperren/dotfiles/hyprland/hyprland-common.conf +++ b/users/caperren/dotfiles/hyprland/hyprland-common.conf @@ -185,5 +185,5 @@ exec-once = sleep 5 && blueman-applet # Traditional bluetooth management tool exec-once = sleep 5 && streamdeck -n # Streamdeck management tool exec-once = sleep 5 && Telegram -startintray # Gotta keep in touch with peeps -exec-once = sleep 10 && itch -exec-once = sleep 15 && hyprctl dispatch closewindow 'title:itch' \ No newline at end of file +exec-once = sleep 10 && itch # More fun games +exec-once = sleep 15 && hyprctl dispatch closewindow 'title:itch' # Hacky solution to single-shot "windowrule" \ No newline at end of file