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 quit [Ping timeout: 240 seconds]
<rizary_> Is this related no home-manager or more of nixos problem?
<alexarice[m]> rizary_: it looks like maybe a folder has the wrong permissions?
<alexarice[m]> that's just a guess though
<rizary_> Hmm is there a case that home-manager create root permission in my home directory? I have the same setup in my VM
<alexarice[m]> is it possible you had already created the file that home-manager wants to write to?
Synthetica has quit [Quit: Connection closed for inactivity]
mexisme has joined #home-manager
<rizary_> Nope
mexisme has quit [Ping timeout: 258 seconds]
mexisme has joined #home-manager
<evanjs> Forgot to mention it here but I added a shell completions install phase to broot on nixpkgs the other day (broot didn’t export them nicely before). Might help us clean up broot on hm a bit. Will probably make a PR within the next few days if nobody else does.
mexisme has quit [Ping timeout: 268 seconds]
<evanjs> bah wait that's the function arguments in there. Guess I'll be adding shell completion stuffs here again. Still good
mexisme has joined #home-manager
<jonge[m]> rycee: i just tried it out by setting `programs.bash.sessionVariables = { FOO = "bar"; }`: i logged in on a getty and got to see that it works. logged out of gnome, logged in again: no $FOO. even rebooting didnt bring me $FOO in my gnome env. running tmux in a gnome terminal brought it back...
<jonge[m]> anyone using gnome here who could confirm this behavior?
mexisme has quit [Ping timeout: 245 seconds]
mexisme has joined #home-manager
<rizary_> Update: if I already logged in and start Xmonad manually, it runs. But when I reboot, the xmonad permission denied, still happened
<rizary_> At first I think it is because of different hostName, but that's not the case after I switch the hostname
mexisme has quit [Ping timeout: 260 seconds]
mexisme has joined #home-manager
Synthetica has joined #home-manager
__monty__ has joined #home-manager
<schmittlauch[m]> How can I enable and autostart a systemd user service? I probably have to tie it to a certain target, but what targets are there?
<Valodim> schmittlauch[m]: if your service needs to access X, graphical-session is the typical choice: https://github.com/rycee/home-manager/blob/master/modules/services/redshift.nix#L138
<Valodim> otherwise, there is multi-user.target
<schmittlauch[m]> Valodim: I now went with default.target after taking a look at the unison service
<schmittlauch[m]> These target conventions might be worth to be documented.
mexisme has quit [Ping timeout: 245 seconds]
<__monty__> schmittlauch[m]: Well, they're a systemd concept. So systemd would have to document them.
<schmittlauch[m]> __monty__: So there's a systemd-convention on user service targets as well? Good to know. I thought those were distro-specific anyways, as debians targets are slightly differently named.
<__monty__> I'm not sure, I assume the conventions are uniform. And systemd should have a way of discovering targets.
mexisme has joined #home-manager
mexisme has quit [Ping timeout: 260 seconds]
<jonge[m]> rycee: according to my /etc/gdm/Xsession, only /etc/profile and ~/.xprofile are sourced. ~/.profile is not looked at. That seems to be my problem, as it explains why everything works in a getty or tmux but not in gnome-terminals
<Valodim> could do `ln -s .xprofile .xprofile` as a hotfix :)
<Valodim> um, `ln -s .profile .xprofile`
<jonge[m]> Valodim: yes, thought of the same... not sure if it's generally smart for for my case it would work.
<jonge[m]> *but for
mexisme has joined #home-manager
mexisme has quit [Ping timeout: 245 seconds]
<jonge[m]> am i the only one using gnome here?
rizary_ has quit []
rizary_ has joined #home-manager
<Valodim> maybe? :)
judson_ has joined #home-manager
judson__ has quit [Remote host closed the connection]
mexisme has joined #home-manager
mexisme has quit [Ping timeout: 260 seconds]
benkolera has quit [Ping timeout: 252 seconds]
vdemeester has quit [Ping timeout: 246 seconds]
feepo has quit [Ping timeout: 252 seconds]
Synthetica has quit [Read error: Connection reset by peer]
benkolera has joined #home-manager
manveru has quit [Ping timeout: 264 seconds]
davidtwco has quit [Ping timeout: 246 seconds]
rizary_ has quit [Ping timeout: 272 seconds]
feepo has joined #home-manager
davidtwco has joined #home-manager
rizary_ has joined #home-manager
manveru has joined #home-manager
benkolera has quit [Read error: Connection reset by peer]
manveru has quit [Ping timeout: 272 seconds]
benkolera has joined #home-manager
<evanjs> whaaaat. why is programs.vscode complaining about unfree. AFAIK it's enabled _everywhere_ in my config :/
Dandellion has quit [Quit: irc_error]
<simpson> evanjs: I think that `vscodium` should be available.
<evanjs> ahhhh
<evanjs> well that too
<evanjs> but I think I found the problem
<evanjs> config.home-manager.users.evanjs.nixpkgs.config is null
<evanjs> didn't realize there was a separate one for hm
<evanjs> I'll try codium too, though
<evanjs> yeah, home-manager.users.evanjs.nixpkgs.config.allowUnfree did it
mexisme has joined #home-manager
mexisme has quit [Ping timeout: 272 seconds]
Synthetica has joined #home-manager
mexisme has joined #home-manager
<rycee> jonge: Yeah, it's not very streamlined when you have a graphical environment but don't use HM to manage it. You'll have to set something like https://github.com/rycee/home-manager/blob/b053dc8697058fc6bf343a9dcae47665a018ec77/modules/xsession.nix#L131-L145 up yourself.
johnw has quit [Remote host closed the connection]
Synthetica has quit [Quit: Connection closed for inactivity]
c0c0 has quit [Ping timeout: 265 seconds]
<hexa-> on nixos master I get the following complaint about my ssh config: https://bpaste.net/N7DQ
<hexa-> instead of an ordered list of attrsets i should convert it to a set
<hexa-> but wouldn't that break the order of my rules?
<rycee> hexa-: Yeah. If your configuration does not require a specific ordering of hosts then switch to a set. If it does then you'll have to wait a while for a fix.
<hexa-> should I file an issue with home-manager?
<rycee> I'm working on switching the type of the option to a DAG so that instead of providing a list it is possible to provide entries with dependency information.
<rycee> No need, this issue is well known.
<hexa-> alright, thank you
mexisme has quit [Ping timeout: 272 seconds]
mexisme has joined #home-manager
mexisme has quit [Ping timeout: 258 seconds]
__monty__ has quit [Quit: leaving]