rycee changed the topic of #home-manager to: Support and discussion around the Home Manager project (https://github.com/rycee/home-manager) | Logs: https://logs.nix.samueldr.com/home-manager
malSet has joined #home-manager
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
<cjpbirkbeck> so i am current using neovim customized at the system level, installing the plugins with nix, then hold almost all my configurations in a separate file in my home directory. can i use that customized version of neovim with home-manager?
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
<hpfr[m]> cjpbirkbeck: what do you mean by with home-manager? I would say you can continue how you are, with neovim customized at the system level with some user level configs in your home directory, or you could manage the neovim plugins at the user level with home-manager and the config with home-manager, or you could mix and match pretty much how you want
<cjpbirkbeck> hpfr[m]: okay, i'm trying have keep the system level config while moving my user level config to home manager
<hpfr[m]> cjpbirkbeck: what do you consider to be system-level in your config? the plugins, right?
<cjpbirkbeck> yeah
<hpfr[m]> huh, I took a look at the home manager module and it's more complicated than most packages since pkgs.wrapNeovim seems to bundle in your vimrc somehow. You might have to look into that
<cjpbirkbeck> the *.configure syntax is very similar between nixpkgs and home-manger, with a field for the plugins and another for the customRC
<hpfr[m]> if you just wanted to have nix handle the config file you could do something like xdg.configFile."nvim/init.vim"
<hpfr[m]> yeah, I don't know how to separate the customRC from the plugins. hopefully someone who uses neovim can comment
<cjpbirkbeck> hmm, okay, i think that works, thanks hpfr[m]. probably it would better just move the plugins to home-manager, but it works
<hpfr[m]> you probably could move the plugins to home-manager and have the whole configuration there and then just keep the plugins in the system wide one, I'm assuming you'd end up with two installations of neovim and the hm one would take precedence for your user. the config would be a bit redundant, but it might achieve what you want
Emantor has quit [Quit: ZNC - http://znc.in]
Emantor has joined #home-manager
<hpfr[m]> rycee: how does home-manager's `nixpkgs.overlays` option work? I tried adding an overlay there, but it seems to have blocked my system-wide nixpkgs.overlays by doing so
<hpfr[m]> is it just a different interface to the same option? Is there any way for me to limit an overlay to just home-manager configuration by appending to the list somehow, or should I just add it to my system-wide list?
cjpbirkbeck has quit [Quit: cjpbirkbeck]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
c0c0 has quit [Ping timeout: 250 seconds]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
c0c0 has joined #home-manager
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
cole-h has quit [Quit: WeeChat 2.7.1]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
ardumont has quit [Ping timeout: 246 seconds]
ardumont has joined #home-manager
mexisme_ has quit [Ping timeout: 260 seconds]
__monty__ has joined #home-manager
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
mexisme_ has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
mexisme_ has quit [Ping timeout: 246 seconds]
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
<rycee> hpfr: Are you using the NixoOS module?
<rycee> If so then you can use the new `home-manager.useGlobalPkgs` option to force the use of the system configuration's Nixpkgs instance. But then you can't configure it further using the HM `nixpkgs` options. So if you want a custom configuration for a user then you need to configure it inside the HM setup.
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
mexisme_ has joined #home-manager
mexisme_ has quit [Ping timeout: 260 seconds]
cjpbirkbeck has joined #home-manager
<cjpbirkbeck> hello, does anybody here use the mpd configuration in home manager?
<mmatthieu> me
<cjpbirkbeck> mmatthieu: why is the listenAddress 0.0.0.0?
<mmatthieu> in order to listen on all interfaces
<mmatthieu> both localhost and whatever.
<mmatthieu> that way, I can use ncmpcpp remotely.
<mmatthieu> you can set 127.0.0.1 if you prefer ^^
<cjpbirkbeck> hmm, looking at journalctl, it says it can't bind to the address, it's already in use
<cjpbirkbeck> i've also got mpdris2 there, maybe it "hogging the port"?
cjpbirkbeck has quit [Quit: cjpbirkbeck]
<mmatthieu> netstat -tulnp
<mmatthieu> run that in a shell, please
cjpbirkbeck has joined #home-manager
<mmatthieu> (and paste the result)
<mmatthieu> there should be mpd runing somewhere
<cjpbirkbeck> mmatthieu: ran the command, i don't see mpd anywhere
<mmatthieu> don't know mpdris2
<mmatthieu> tcp 0 0 0.0.0.0:6600 0.0.0.0:* LISTEN 1557/mpd
<mmatthieu> I have this, is the 6600 port already used by another process ?
<cjpbirkbeck> no, not there
<cjpbirkbeck> https://pastebin.com/k2mSernR <- result from journalctl, regarding mpd
<cjpbirkbeck> https://pastebin.com/ANsGZEwb <- nstat result
<mmatthieu> run netstat as sudo ?
<mmatthieu> * run netstat as root* ?
<cjpbirkbeck> ran it as sudo, doesn't list mpd
<mmatthieu> sudo netstat -tulnp | grep 6600 ?
<mmatthieu> there should be one line, or the error doesn't makes sense.
<cjpbirkbeck> yep nothing; i'm thinking that the service didn't work and exited
cjpbirkbeck has quit [Quit: cjpbirkbeck]
cjpbirkbeck has joined #home-manager
<mmatthieu> ps aux | grep mpd ?
<cjpbirkbeck> okay, i think i've resolved it; it was a line a put in my extraConfig that was messing with stuff
<mmatthieu> what you conf looks like ?
<cjpbirkbeck> and i think using pgrep would be more effective here.
greizgh has quit [Quit: greizgh]
greizgh has joined #home-manager
<cjpbirkbeck> the line bind_to_address "127.0.0.1" was messing with stuff, for some reason
<mmatthieu> probably, I'm not a shell guru ^^
<mmatthieu> what's the default ?
<mmatthieu> already 127.0.0.1, you could get rid of that.
luc65r has joined #home-manager
<luc65r> Hi
<luc65r> I would like to enable cudaSupport on Blender, but I have no idea on how to do it
<luc65r> Can someone help me ?
<rycee> luc65r: Might be that `nixpkgs.config.cudaSupport` works. Not certain, though.
<rycee> `nixpkgs.config.cudaSupport = true;`, that is
<luc65r> That might be it
<luc65r> Thanks a lot
<luc65r> I don't know why I thought it would be more difficult
<luc65r> Like with a packageOverride
<hpfr[m]> rycee: `useGlobalPkgs` means I can't use `users.me.packages` correct? that doesn't seem like what I want
<rycee> No, that should still work. The option just changes the instance of Nixpkgs that is used within the Home Manager part of the configuration from being a separate instance from the one used in the system configuration to being the same instance.
<rycee> That is, the module's `pkgs` argument attribute.
mexisme_ has joined #home-manager
mexisme_ has quit [Ping timeout: 246 seconds]
ardumont has quit [Ping timeout: 246 seconds]
luc65r has quit [Remote host closed the connection]
ardumont has joined #home-manager
ardumont has quit [Ping timeout: 250 seconds]
klntsky has quit [Remote host closed the connection]
klntsky has joined #home-manager
cole-h has joined #home-manager
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
c0c0 has quit [Ping timeout: 264 seconds]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
s1341 has joined #home-manager
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
c0c0 has joined #home-manager
mexisme_ has joined #home-manager
mexisme_ has quit [Ping timeout: 246 seconds]
cjpbirkbeck has quit [Quit: cjpbirkbeck]
ardumont has joined #home-manager
energizer has joined #home-manager
<energizer> when using home-manager, how do i apply configurations like the one described here `chromium.enableWideVine = true`? if i just add it to programs.chromium it says the option doesn't exist https://rycee.gitlab.io/home-manager/options.html#opt-programs.chromium.enable
<__monty__> energizer: Those docs are for the latest version. Maybe your home-manager isn't quite so new?
<energizer> __monty__: the option doesn't exist in home-manager in any version
<energizer> (afaik)
<energizer> am i supposed to overrideAttrs in an overlay or something?
<cole-h> energizer: Maybe I'm blind, but I don't see any `enableWideVine` setting on that page..
<__monty__> energizer Hmm, that complicates things. I guess you'd have to work with an activation block that copies your config into place.
<energizer> cole-h: exactly, how do i use that setting since it doesn't exist?
<cole-h> ?
<energizer> the way to enable widevine is to set chromium.enableWideVine=true somewhere, i'm just not sure where
<cole-h> Where do you see that?
<energizer> on that github issue i linked....oh i didnt link it haha
<__monty__> energizer: Oh, hold on. Is that maybe an argument to the chromium expression?
<energizer> no wonder yalll are puzzled
<cole-h> `chromium = pkgs.chromium.override { enableWideVine = true; };`
<{^_^}> nixpkgs#8479 (by travisbhartwell, 4 years ago, closed): Chromium doesn't see WideVine component needed by Netflix, even if enabled
<cole-h> See my above message. Things have changed in 4 years
<energizer> if i'm using home-manager does that mean i don't use ~/.config/nixpkgs.config.nix at all?
<energizer> if i'm using home-manager does that mean i don't use ~/.config/nixpkgs/config.nix at all?
<cole-h> No
<rycee> I guess if you use the HM chromium options you could set `programs.chromium.package = pkgs.chromium.override { enableWideVine = true; };`?
<cole-h> It might not exist, but you can certainly still use it
s1341 has quit [Quit: Connection closed for inactivity]
<cole-h> (I do)
mexisme_ has joined #home-manager
mexisme_ has quit [Ping timeout: 246 seconds]
<energizer> what is the difference between overriding chromium.enableWideVine in config.nix and doing it with programs.chromium.package in home.nix?
<__monty__> energizer Don't do the former, use an overlay instead. Difference is that the overlay would affect any reference to the chromium package while overriding the HM chromium.package only affects the chromium installed by HM.
<energizer> cole-h: was your suggestion the same as rycee's?
<cole-h> Essentially. My suggestion was more for an overlay, so `chromium` would always refer to that widevine-enabled package
<energizer> ok. thanks all
energizer has quit [Remote host closed the connection]
ehmry has quit [Remote host closed the connection]
ehmry has joined #home-manager
hmpffff has joined #home-manager
hmpffff_ has joined #home-manager
hmpffff has quit [Ping timeout: 246 seconds]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
mexisme_ has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
mexisme_ has quit [Ping timeout: 246 seconds]
hmpffff_ has quit [Quit: nchrrrr…]
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
mexisme_ has joined #home-manager
malSet has joined #home-manager
malSet has quit [Read error: Connection reset by peer]
mexisme_ has quit [Ping timeout: 246 seconds]
__monty__ has quit [Quit: leaving]
mexisme_ has joined #home-manager
mexisme_ has quit [Ping timeout: 260 seconds]
cjpbirkbeck has joined #home-manager