<maxsc>
So maybe this part of the code can be changed in hm?
cole-h has joined #home-manager
thibm has joined #home-manager
cole-h has quit [Ping timeout: 256 seconds]
heywoodlh has joined #home-manager
ardumont has quit [Quit: WeeChat 2.7.1]
ardumont has joined #home-manager
<maxsc>
Ok, this is a problem in the latest version of msmtp, 1.8.13, with version 1.8.12 this is not problem..
ece has quit [Read error: Connection reset by peer]
evalexpr has joined #home-manager
ece has joined #home-manager
<piegames1>
nicolas[m]: Why should they? I wouldn't even assume to have them after switching
matthewcroughan_ has quit [Remote host closed the connection]
matthewcroughan has joined #home-manager
<nf>
is there a way to run an activation script as my own user instead of root, so i can use `systemctl --user` ? my use case is to enable a systemd service that's defined in config.systemd.user.services, and i can't use wantedBy because i don't want it enabled for all users
<nf>
wait, it already runs as my user...
<nf>
it just can't connect to dbus, apparently
<thibm>
nf: I had this exact problem 2 years ago
<thibm>
And I did not find a solution
<nf>
:/
<nf>
i don't know what systemctl needs to be able to talk to systemd, and why that isn't provided in the activation script
<thibm>
nf: it was in NixOS config though, not hm
<nf>
i shall investigate
<__monty__>
Didn't rycee mention something about dBus related problems yesterday?
<{^_^}>
nix-community/home-manager#601 (by danbst, 1 year ago, open): XDG_RUNTIME_DIR isn't set for `root` user, logged in via `sudo` inside SSH session
<nf>
__monty__: doesn't look like the same problem
<nf>
i'm still not sure why this isn't set by default
<nf>
i don't think my case involves sudo or su (?)
mtr has joined #home-manager
<mtr>
hello, was about to create an issue on the github but I figured I'd ask here first: anyone use dzen in xmonad?
<mtr>
currently using dzen through XMonad.Util.Dzen doesn't seem to add pkgs.dzen2 as a runtime dependency for the xmonad binary
<nf>
(to clarify, i meant config.systemd.user.services from the NixOS config, not home-manager)
<thibm>
OK, so it's the same issue as mine. I tried a few things and then gave up.
<thibm>
So I enable the unit manually. It's really bad, because the systemd symlink (in config/systemd/user/) points to the store path, not the symlink in /etc/systemd/user/
<thibm>
It means that it's not updated automatically when the unit is updated and that it gets broken at some point :(
maxsc has quit [Ping timeout: 240 seconds]
kalbasit has joined #home-manager
<DanielEbbert[m]>
Does the home-manager by any chance keep a backup of the home.nix? For some reason the file is empty after rebooting the VM. I didn't get around to putting it in version control yet.
<DanielEbbert[m]>
I found the previous generations and they contain everything except the home.nix.
<infinisil>
DanielEbbert[m]: Nope, it isn't backed up anywhere
<DanielEbbert[m]>
Then I just start from scatch. Luckily it was just a test setup to develop a configuration before installing NixOS on my laptop.
<nicolas[m]>
On another hand, Flakes add the source directory to the /nix/store
<DanielEbbert[m]>
Seems like I should look into Flakes.
<patagonicus>
home.file.".home.nix".source = ./home.nix; in your home.nix should also always keep it around (it'll also link the current version as ~/.home.nix, but that path doesn't matter).