From 8c9eed18e6f22b3a82b2e9b09fe9285967313749 Mon Sep 17 00:00:00 2001 From: Xory Date: Sat, 3 Jan 2026 14:52:23 +0200 Subject: [PATCH] final commit before refactor --- hosts/nullstar/configuration.nix | 25 +++++++++++++++++++++---- hosts/nullstar/home.nix | 12 ++++++++++++ 2 files changed, 33 insertions(+), 4 deletions(-) diff --git a/hosts/nullstar/configuration.nix b/hosts/nullstar/configuration.nix index 07f95e0..c6d1e33 100644 --- a/hosts/nullstar/configuration.nix +++ b/hosts/nullstar/configuration.nix @@ -88,7 +88,17 @@ apps = { firefox = {}; "signal-desktop-bin" = { name = "signal-desktop"; }; - vesktop = {}; + + # UPDATE: Add specific flags for Vesktop here + vesktop = { + extraArgs = [ + # Allow talking to the portal for screen sharing requests + "--dbus-user.talk=org.freedesktop.portal.*" + # Ensure access to the PipeWire socket (required for the video stream) + "--whitelist=\${RUNUSER}/pipewire-0" + ]; + }; + spotify = {}; obsidian = {}; }; @@ -96,13 +106,16 @@ lib.mapAttrs (pkg: conf: let binName = conf.name or pkg; + # Define default args applied to all apps + defaultArgs = [ + "--env=GTK_THEME=Adwaita:dark" + ]; in { executable = "${pkgs.${pkg}}/bin/${binName}"; profile = "${pkgs.firejail}/etc/firejail/${binName}.profile"; - extraArgs = [ - "--env=GTK_THEME=Adwaita:dark" - ]; + # UPDATE: Merge default args with app-specific args + extraArgs = defaultArgs ++ (conf.extraArgs or []); }) apps; }; @@ -168,6 +181,10 @@ hardware.graphics = { enable = true; enable32Bit = true; + extraPackages = with pkgs; [ + libvdpau-va-gl + rocmPackages.clr.icd + ]; }; services.ollama.enable = true; diff --git a/hosts/nullstar/home.nix b/hosts/nullstar/home.nix index e85a334..ccce1c8 100644 --- a/hosts/nullstar/home.nix +++ b/hosts/nullstar/home.nix @@ -104,6 +104,18 @@ settings.background_opacity = 0.8; }; + programs.vscode = { + enable = true; + extensions = with pkgs.vscode-extensions; [ + catppuccin.catppuccin-vsc + catppuccin.catppuccin-vsc-icons + dbaeumer.vscode-eslint + rust-lang.rust-analyzer + ms-python.python + biomejs.biome + ]; + }; + wayland.windowManager.hyprland.enable = true; programs.waybar.enable = true; programs.wofi.enable = true;