<coco>
Ah, I got it; I forgot to use parentheses around vscode-utils.extensionFromVscodeMarketplace and its argument
justanotheruser has quit [Ping timeout: 260 seconds]
cole-h has joined #home-manager
justanotheruser has joined #home-manager
<rogerr>
what's the best neovim config for rust? gonna try to learn it. oh i use home manager too fwiw
<rogerr>
im trying to set up neovim. in the generated vimrc file, it has the set shortmess=I i added to extraConfig, but that doesn't get respected when i run nvim i still see the intro message. dunno if it's related but :checkhealth complains that .config/nvim/init.vim can't be found
heywoodlh has joined #home-manager
<heywoodlh>
Hey guys, I'm using Home-Manager on Ubuntu. I've had some graphical applications installed but it's almost like they don't use my display server or something. For example, when I run the version of Firefox installed through `nix`/home-manager on my HiDPI display it's like Firefox doesn't even have the same display settings applied.
<heywoodlh>
Any suggestions on what is causing that? I would love to run the graphical packages I have installed with `nix` but they often don't seem to integrate well with my display settings.
vdemeester has quit [Read error: Connection reset by peer]
vdemeester has joined #home-manager
aristid has quit [Read error: Connection reset by peer]
bradparker has quit [Read error: Connection reset by peer]
aristid has joined #home-manager
bradparker has joined #home-manager
<piegames1>
heywoodlh: Got any error messages or crashes? X11 or Wayland?
<piegames1>
It might be because they are missing hardware acceleration (mainly an OpenGL context)
<heywoodlh>
piegames1: yeah, so I use kitty as my terminal emulator and it complains about not being able to use OpenGL
<heywoodlh>
When I install kitty through `apt` it works fine. But when I invoke the nix-installed kitty binary it complains about OpenGL stuff.
<heywoodlh>
If it helps, I can post the OpenGL error messages
<__monty__>
heywoodlh: Check out nixGL, it's not ideal but sometimes necessary with nix on other-linux.
<heywoodlh>
__monty__: found it, would I need to modify all my .desktop files to launch with `nixGLIntel`? Such as changing the Exec line in firefox.desktop to something like `nixGLIntel firefox`
<__monty__>
Not sure. Quite possibly yes though.
<heywoodlh>
__monty__: Ugh, that would suck but I still appreciate the suggestion
<__monty__>
You may be able to have nix patch all .desktop files for you. Kind of like patchShebangs. If you overlay the right functions.
<heywoodlh>
__monty__: have any examples, man pages, etc. that I should look at. If I could do that in nix that may be favorable.
<heywoodlh>
I.E. any .desktop file in my nix profile, patch with Exec=nixIntelGL or something like that.
<piegames1>
heywoodlh: I usually only patch applications that really need OpenGL to work and that I don't usually start manually from the command line.
<heywoodlh>
piegames1: that makes sense to only patch the ones that I actually need rather than everything else.
<piegames1>
That's my ugly hack for chromium. I tried to override the desktop file from the derivation but it's deeply nested. I didn't want to create yet another wrapper, so I instead patched the wrapper that already exists
<__monty__>
That's probably good advice. Better than my scattershot approach.
<heywoodlh>
piegames1: could you throw that in a gist, pastebin, etc?
<piegames1>
The thing is that a lot of applications do surprisingly well without any GPU acceleration. Even watching videos works (if one does not mind that it will eat 2-3 cores ^^)
<heywoodlh>
That makes sense. There are only a small handful that are having issues.
<heywoodlh>
Thanks for the link
cjpbirkbeck has joined #home-manager
cjpbirkbeck has quit [Client Quit]
cjpbirkbeck has joined #home-manager
joesventek has quit [Quit: Quit]
joesventek has joined #home-manager
__monty__ has quit [Quit: leaving]
<rogerr>
im trying to set up neovim and i think i found a home manager bug. in the generated vimrc file, (nix-store -qR $(command -v nvim) | grep vimrc) it has the set shortmess=I i added to extraConfig, but that doesn't get respected when i run nvim i still see the intro message. dunno if it's related but :checkhealth complains that .config/nvim/init.vim