ChanServ changed the topic of #home-manager to: Support and discussion around the Home Manager project (https://github.com/nix-community/home-manager) | Logs: https://logs.nix.samueldr.com/home-manager
o1lo01ol1o has joined #home-manager
o1lo01ol1o has quit [Ping timeout: 260 seconds]
kalbasit has joined #home-manager
o1lo01ol1o has joined #home-manager
o1lo01ol1o has quit [Ping timeout: 246 seconds]
o1lo01ol1o has joined #home-manager
o1lo01ol1o has quit [Ping timeout: 246 seconds]
justanotheruser has quit [Ping timeout: 272 seconds]
justanotheruser has joined #home-manager
justanotheruser has quit [Ping timeout: 260 seconds]
justanotheruser has joined #home-manager
o1lo01ol1o has joined #home-manager
o1lo01ol1o has quit [Ping timeout: 260 seconds]
zmacs has quit [Read error: Connection reset by peer]
zmacs has joined #home-manager
o1lo01ol1o has joined #home-manager
o1lo01ol1o has quit [Ping timeout: 260 seconds]
cjpbirkbeck has quit [Quit: cjpbirkbeck]
justanotheruser has quit [Ping timeout: 260 seconds]
o1lo01ol1o has joined #home-manager
o1lo01ol1o has quit [Ping timeout: 256 seconds]
justanotheruser has joined #home-manager
cole-h has quit [Ping timeout: 260 seconds]
o1lo01ol1o has joined #home-manager
o1lo01ol1o has quit [Ping timeout: 264 seconds]
cyphase has quit [Ping timeout: 272 seconds]
cyphase has joined #home-manager
kalbasit has quit [Ping timeout: 240 seconds]
o1lo01ol1o has joined #home-manager
o1lo01ol1o has quit [Remote host closed the connection]
justanotheruser has quit [Ping timeout: 260 seconds]
justanotheruser has joined #home-manager
kalbasit has joined #home-manager
__monty__ has joined #home-manager
<coco> In https://rycee.gitlab.io/home-manager/options.html#opt-programs.vscode.extensions , I can list extensions for vscode. Some extensions I need are not contained in https://github.com/NixOS/nixpkgs/tree/master/pkgs/misc/vscode-extensions . I'm a Nix newbie and try to write Nix expressions for those extensions for use in that option, taking inspiration from
<coco> I tried it like this https://gist.github.com/corsinpfister/19b6817722e4b6fa4382d54749e28c04 , but it says "The option value `programs.vscode.extensions.[definition 1-entry 4]' in `/home/coco/.config/nixpkgs/programs/vscode' is not of type `package'."
<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.
<piegames1> chromium = pkgsUnstable.chromium.overrideAttrs (old: {
<piegames1> buildCommand = old.buildCommand + ''
<piegames1> substituteInPlace $out/bin/chromium --replace "exec " "exec nixGLIntel "
<piegames1> '';
<piegames1> });
<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 ^^)
<piegames1> heywoodlh: https://paste.linuxlounge.net/Q7DQ
<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
<rogerr> can't be found. anyone know pls?
pbogdan has quit [Quit: ZNC 1.8.2 - https://znc.in]
pbogdan has joined #home-manager
<nicolas[m]> the generated neovim config is not symlinked to `$XDG_CONFIG_HOME/nvim/init.vim`
<nicolas[m]> `cat $(readlink -f $(command -v nvim))`
<nicolas[m]> You should see the generated config is passed as a parameter to neovim to be run with the `-u` flag