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
hmpffff has quit [Ping timeout: 256 seconds]
hmpffff_ has joined #home-manager
hmpffff_ has quit [Ping timeout: 272 seconds]
ardumont has quit [Ping timeout: 252 seconds]
ardumont has joined #home-manager
malSet has quit [Ping timeout: 256 seconds]
malSet has joined #home-manager
<benkolera> That mkOutOfStoreSymlink looks rad.
cole-h has quit [Quit: Goodbye]
johnw has joined #home-manager
hmpffff has joined #home-manager
hmpffff_ has joined #home-manager
hmpffff has quit [Ping timeout: 256 seconds]
hmpffff has joined #home-manager
hmpffff_ has quit [Ping timeout: 265 seconds]
hmpffff_ has joined #home-manager
hmpffff has quit [Ping timeout: 256 seconds]
hmpffff has joined #home-manager
hmpffff_ has quit [Ping timeout: 256 seconds]
hmpffff_ has joined #home-manager
hmpffff has quit [Ping timeout: 265 seconds]
hmpffff__ has joined #home-manager
hmpffff_ has quit [Ping timeout: 265 seconds]
hmpffff__ has quit [Read error: Connection reset by peer]
hmpffff has joined #home-manager
hmpffff_ has joined #home-manager
hmpffff has quit [Ping timeout: 260 seconds]
hmpffff has joined #home-manager
hmpffff_ has quit [Ping timeout: 240 seconds]
__monty__ has joined #home-manager
asymptotically has joined #home-manager
evanjs has quit [Remote host closed the connection]
coco has joined #home-manager
evanjs has joined #home-manager
<__monty__> So I'd like to use HM's firefox module to set up my profile but none of the firefox expressions in nixpkgs support darwin. Can I write up an expression that just fetches the dmg and unpacks that? And use it as the firefox package for HM? (I'm on StateVersion = 4, so according to the docs I need an -unwrapped variant.)
coco has quit [Quit: WeeChat 2.6]
coco has joined #home-manager
coco has quit [Client Quit]
evanjs has quit [Ping timeout: 256 seconds]
coco has joined #home-manager
evanjs has joined #home-manager
<coco> is there anything i need to be aware of switching both nixos and home-manager to 20.03? i upgraded both and can't log in anymore; i get a "failed to start session" in lightdm (using x & i3)
<ldlework> :(
cole-h has joined #home-manager
hmpffff_ has joined #home-manager
hmpffff has quit [Ping timeout: 265 seconds]
ornxka has joined #home-manager
<ornxka> is there any meaningful difference between using home-manager package from nixpkgs vs the channel
<ornxka> i am puzzled because this seems much easier than using the channel but the readme doesnt mention it
cjpbirkbeck has joined #home-manager
<asymmetric> how can i search through the attributes defined by HM via CLI?
<__monty__> asymmetric: `man home-configuration.nix`?
<asymmetric> __monty__: that's a good tip, thx
<asymmetric> i thought i would be able to do something with `nix search` or `nix-env -q` though
<__monty__> ornxka: Afaik the difference is the rate with which it gets updated/fixed. Which is much higher for the home-manager channel.
<asymmetric> or `nixos-option`
<__monty__> asymmetric: Can't say it's impossible. Though I wouldn't expect it to be possible. nix search has never worked for me, nix-env -q only queries packages afaik and I've never used nixos-option. I love that all the nix manuals are usually available as man pages though.
MmeQuignon has joined #home-manager
MmeQuignon has quit [Quit: WeeChat 2.8]
MmeQuignon has joined #home-manager
evanjs has quit [Quit: ZNC 1.7.5 - https://znc.in]
evanjs has joined #home-manager
<ornxka> error: packages '/nix/store/sbrivadz9b9hyml72ilcjm31bj1g2lnl-man-db-2.9.0/lib/tmpfiles.d/man-db.conf' and '/nix/store/sbrivadz9b9hyml72ilcjm31bj1g2lnl-man-db-2.9.0/lib/tmpfiles.d/man-db.conf' have the same priority 5; use 'nix-env --set-flag priority NUMBER INSTALLED_PKGNAME' to change the priority of one of the conflicting packages (0 being the highest priority)
<ornxka> ????
<ornxka> ah uininstalling man-db fixed it
mocker has joined #home-manager
<ornxka> is there a specific way youre supposed to have systemd user units depend on packages? ive just got ExecStart = "${pkgs.coreutils}/bin/touch /tmp/foobar"; in home.nix, but i dont know if that works because i already have coreutils installed or if it would install it for me if i didnt
<rycee> ornxka: Yes, that is the preferred way.
<ornxka> ah gotcha
<rycee> By referencing the package inside the string you automatically establish a dependency on it.
<ornxka> ah i see!
<ornxka> it says in the systemd timer documentation that OnCalendar may be specified more than once, but if i set OnCalendar to a list then it concatenates them on the same line
<ornxka> is that a bug?
<ornxka> oh wait a sec i can just use a '' '' list
hmpffff has joined #home-manager
hmpffff_ has quit [Ping timeout: 265 seconds]
<mocker> What is the best way in home manager to install a nix package from Github? (specifically https://github.com/Shopify/comma)
<hpfr[m]> Anybody have a method for declaratively managing flatpak
<rycee> mocker: I guess something like `home.packages = [ (pkgs.callPackage (pkgs.fetchGitHub …)) ]` might work.
<energizer> why does home-manager have its own channel instead of being part of nixpkgs/nixos?
Bunogi has quit [Quit: The Lounge - https://thelounge.chat]
Bunogi has joined #home-manager
<rycee> energizer: Well, looking at the fate of 9250 it was pretty clear it had to be outside the Nixpkgs repo.
<energizer> #9250
<{^_^}> nixpkgs#9250 (by ts468, 4 years ago, closed): nixuser: declarative user environments
<rycee> Yeah, that's the one :-)
<rycee> Yeah, I saw that thread a while back. Didn't have time to join in but I agree with Eelco.
<energizer> aaronjanse has a point too "when nixpkgs wants to implement something that home-manager has, if there could be a process for merging one of home-manager’s existing modules instead of re-inventing the wheel"
<energizer> but i suppose that's not your problem :-)
<rycee> It would certainly be nice to rework the module system to have some stable interface like functionality so I encourage people to work on that.
<rycee> Until then I would suggest copying options and modules between the projects as you see fit :-)
<rycee> And if necessary I wouldn't mind merging HM into Nixpkgs (although Nixpkgs is a bit of a pain to work in).
MmeQuignon has quit [Ping timeout: 260 seconds]
__monty__ has quit [Quit: leaving]
asymptotically has quit [Quit: Leaving]
<infinisil> rycee: What do you mean with some stable interface functionality?