final commit before refactor

This commit is contained in:
Xory 2026-01-03 14:52:23 +02:00
parent 1a75a5bcbc
commit 8c9eed18e6
2 changed files with 33 additions and 4 deletions

View file

@ -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;

View file

@ -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;