My dotfiles (written in Nix, btw!) ❄
at main 23 lines 725 B view raw
1{...}: { 2 services.flatpak = { 3 enable = true; 4 update.onActivation = true; 5 packages = [ 6 "org.vinegarhq.Sober" 7 "com.obsproject.Studio" # only the flatpak is the supported way of installing obs studio 8 "com.usebottles.bottles" 9 ]; 10 overrides = { 11 "org.vinegarhq.Sober" = { 12 Context = { 13 filesystems = ["xdg-run/discord-ipc-0" "xdg-run/app/com.discordapp.Discord:create"]; 14 }; 15 Environment = { 16 # do not touch, makes sober run on the iGPU and not crash lol 17 VK_DRIVER_FILES = "/usr/lib/x86_64-linux-gnu/GL/vulkan/icd.d/intel_icd.x86_64.json"; 18 }; 19 }; 20 "com.usebottles.bottles".Context.filesystems = ["home"]; 21 }; 22 }; 23}