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/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/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/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 diff --git a/modules/application-groups/virtualization.nix b/modules/application-groups/virtualization.nix index 385dace..96c2fe1 100644 --- a/modules/application-groups/virtualization.nix +++ b/modules/application-groups/virtualization.nix @@ -1,12 +1,10 @@ { config, pkgs, ... }: { - virtualisation.podman = { - enable = true; - dockerCompat = true; + + virtualisation.docker.enable = true; + virtualisation.containers.policy = { + default = [ { type = "insecureAcceptAnything"; } ]; + }; - environment.systemPackages = with pkgs; [ - distrobox - ]; - } diff --git a/users/caperren/caperren.nix b/users/caperren/caperren.nix index 6dd8754..190e7c3 100644 --- a/users/caperren/caperren.nix +++ b/users/caperren/caperren.nix @@ -13,12 +13,14 @@ in isNormalUser = true; description = "Corwin Perren"; extraGroups = [ - "networkmanager" - "wheel" - "input" - "dialout" - "plugdev" "adbusers" + "dialout" + "docker" + "input" + "networkmanager" + "plugdev" + "podman" + "wheel" ]; }; @@ -55,6 +57,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; @@ -90,7 +93,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/.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 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 diff --git a/users/caperren/dotfiles/hyprland/hyprland-common.conf b/users/caperren/dotfiles/hyprland/hyprland-common.conf index 8f97c0d..a9505eb 100644 --- a/users/caperren/dotfiles/hyprland/hyprland-common.conf +++ b/users/caperren/dotfiles/hyprland/hyprland-common.conf @@ -183,4 +183,7 @@ 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 # More fun games +exec-once = sleep 15 && hyprctl dispatch closewindow 'title:itch' # Hacky solution to single-shot "windowrule" \ No newline at end of file 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 -} 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,