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
mexisme has joined #home-manager
infinisil has quit [Quit: Configuring ZNC, sorry for the joins/quits!]
infinisil has joined #home-manager
infinisil has quit [Quit: Configuring ZNC, sorry for the joins/quits!]
infinisil has joined #home-manager
sheelx has joined #home-manager
sheelx has quit [Ping timeout: 248 seconds]
sheelx has joined #home-manager
mexisme has quit [Ping timeout: 250 seconds]
sheelx has quit [Quit: Lost terminal]
mexisme has joined #home-manager
mexisme has quit [Ping timeout: 264 seconds]
klntsky has quit [Remote host closed the connection]
klntsky has joined #home-manager
__monty__ has joined #home-manager
mexisme has joined #home-manager
mexisme has quit [Ping timeout: 264 seconds]
jollyjester has joined #home-manager
<jollyjester> heya
<jollyjester> how can i get zathura to """compile""" without mupdf
<jollyjester> useMupdf ?
<jollyjester> i'm trying to disable that option
<rycee> I guess `nixpkgs.config.zathura.useMupdf = false;` would work. Alternatively using an overlay and override the argument.
<jollyjester> ok
<jollyjester> speaking of zathura
<jollyjester> at the bottom of the page, on the github link
<jollyjester> there's a "plugins" list
<jollyjester> how can i disable one of these or more
hmpffff has joined #home-manager
<__monty__> jollyjester: It doesn't look like the expression gives you that flexibility. You could change the expression and submit a PR to nixpkgs of course. And meanwhile add an overlay so you can already start using it.
<rycee> Hmm, they don't seem easily configurable. I think the easiest way would be to add options similar to `useMupdf` in the package definition :-/
<__monty__> Maybe zathura's configuration allows you to turn installed plugins off? Unless you don't want them installed?
<jollyjester> hmmm
<jollyjester> it's not that how to set these things is confusing
<jollyjester> what's more confusing is that you can't find them
<jollyjester> i just looked into the home-manager github, you can set stuff like starting parameters, add packages to emacs etc
<jollyjester> but how do i know about these?
<rycee> The package in Nixpkgs could expose a `plugins` attribute set containing the plugins and then expose `zathuraWithPlugins` in `all-packages.nix`. It would then be simple to set up the HM module to allow configuration of the plugins.
<__monty__> jollyjester: This has all the hm options: https://rycee.gitlab.io/home-manager/options.html
<__monty__> If it's not in there you can't directly configure it through home-manager.
<jollyjester> thanks
mexisme has joined #home-manager
mexisme has quit [Ping timeout: 245 seconds]
asymmetric has quit [Quit: Peace.]
asymmetric has joined #home-manager
infinisi1 has joined #home-manager
infinisil has quit [Quit: Configuring ZNC, sorry for the joins/quits!]
infinisi1 has quit [Quit: Configuring ZNC, sorry for the joins/quits!]
infinisil has joined #home-manager
<__monty__> rycee: Looking into the Applications stuff again. Fail to remember why we started looking at nix-darwin. Isn't that seperate from what home-manager does?
<__monty__> What I expected to happen is .nix-profile has the home-manager-path and home-manager complaining about ~/Applications already existing.
<__monty__> Is it because when using the nix-darwin module .nix-profile isn't populated with the home-manager-path because of useUserPackages?
jollyjester has quit [Quit: Lost terminal]
<rycee> Yeah, with `useUserPackages` the resposibility for installing the things in `home.packages` is moved to nix-darwin.
<rycee> Using the `users.users.<name>.packages` option.
<__monty__> Oh, now I understand. So the solution is basically turn that off until 153 gets merged?
<__monty__> Or should I find out why my buildEnv don't end up in .nix-profile anyway because it should normall work.
<__monty__> ?
<rycee> Yeah, if it works without useUserPackages then I think that's probably best until some other solution is found.
infinisil has quit [Quit: Configuring ZNC, sorry for the joins/quits!]
<rycee> As long as you use useUserPackages HM won't put anything in ~/.nix-profile, with that option goes into /etc/profiles/…
<rycee> With useUserPackages == false, the packages will be installed to ~/.nix-profile.
infinisil has joined #home-manager
<__monty__> rycee: Hmm, why doesn't Applications end up in /etc/profiles though?
<__monty__> Is it because hm doesn't touch the packages, just passes them on and only programs.git/whatever end up there?
<rycee> Yeah, I can't tell why Applications doesn't show up in /etc/profiles if it's present in the packages of `home.packages`. The only thing I can think of is that nix-darwin or Nix filters it out somehow.
<__monty__> rycee: Hmm, when I set useUserPackages to false darwin-rebuild complains about attribute "myUsername" not existing in .nix-defexpr/channels/home-manager/nix-darwin/default.nix L16
<__monty__> rycee: Also, am I correct in thinking that your nur thing is only for the nixos hm module?
<__monty__> Not darwin?
<rycee> Right, the module in NUR is the NixOS one. It would make sense to have a nix-darwin attribute as well.
<rycee> __monty__: Now it should work with `imports = [ nur-no-pkgs.repos.rycee.ndModules.home-manager ]`
hmpffff has quit [Quit: nchrrrr…]
hmpffff has joined #home-manager
<__monty__> Will try tomorrow 👍
hmpffff has quit [Quit: nchrrrr…]
hmpffff has joined #home-manager
__monty__ has quit [Quit: leaving]
hmpffff has quit [Quit: nchrrrr…]