boxscape has quit [Remote host closed the connection]
andi- has quit [Remote host closed the connection]
andi- has joined #home-manager
mexisme has joined #home-manager
mexisme has quit [Ping timeout: 245 seconds]
hpfr has joined #home-manager
alexbakker_ has joined #home-manager
bsima1 has joined #home-manager
<hpfr>
it's very strange. this file where I define the GTK env vars is not even referenced by my desktop symlinked config, I have no idea how it's even finding the file to pull form
<hpfr>
from*
alexbakker has quit [Quit: Dikke doei]
bsima has quit [Remote host closed the connection]
<hpfr>
I know you can define lists and sets multiple times and nix merges them, but can you do it with functions like home-manager.users.<user> = { config, pkgs, ... }: { ... }?
alexbakker_ is now known as alexbakker
<hpfr>
ok, the dpi thing was a silly mistake. I used to have .profile and .bashrc in my dotfiles repo but I consolidated them into home-manager's bash functionality. I'm fairly sure I deleted .profile and had everything working how I wanted, but somehow my old .profile came back with the dpi stuff uncommented. rebuilding still had home-manager fail, but i was fairly sure the issue was with bash, "stty" is related to .profile settings I believe
<hpfr>
commenting out all of home-manager's programs.bash settings allowed it to rebuild properly. I'll start uncommenting stuff until it fails again
hpfr has quit [Remote host closed the connection]
hpfr has joined #home-manager
gjabell has quit [Ping timeout: 240 seconds]
<hpfr>
ok, uncommented all the bash config and it works again. not sure what happened, but unless it happens again I don't much care haha
gjabell has joined #home-manager
hpfr has quit [Remote host closed the connection]
groggy[m] has joined #home-manager
hmpffff has joined #home-manager
__monty__ has joined #home-manager
<rycee>
hpfr: Wow. Glad it worked out for you :-) About the merging, for the type of function you gave as example it should work.
greizgh has quit [Quit: greizgh]
Synthetica has joined #home-manager
<jonge[m]>
hi there. if i have a home manager config that says `imports = [ a.nix b.nix ];` and both imported files define `programs.bash.profileExtra = '' ... '';` profile lines, is it possible that this does not get merged or must there be some other error on my side if i don't see the sum of all profile lines?
<__monty__>
I don't think anything gets implicitly merged.
<jonge[m]>
__monty__: so how would i do that?
<__monty__>
Good question. Pass the imports to mkMerge or something? I have no idea tbh.
<jonge[m]>
hm. ok so then it's at least good to know that it doesn't merge it. so i did not make anything else wrong. thx
<__monty__>
jonge[m]: I recommend waiting around until someone more knowledgeable passes by : )
NickHu has joined #home-manager
NickHu has quit [Changing host]
NickHu has joined #home-manager
NickHu has quit [Changing host]
bsima1 is now known as bsima
boxscape has joined #home-manager
hmpffff has quit [Quit: nchrrrr…]
hmpffff has joined #home-manager
<rycee>
jonge: The options should get merged. Do you see the lines from one of the files but not the other?
<jonge[m]>
rycee, yes, exactly that. I did not build a minimal example though
<jonge[m]>
But i would do that on sunday if no one can reproduce it
<rycee>
Perhaps you have changed the priority somewhere?
<rycee>
Like using mkForce.
greizgh has joined #home-manager
greizgh has quit [Ping timeout: 245 seconds]
greizgh has joined #home-manager
funfrock has joined #home-manager
<funfrock>
I'm failing to get xmonad working correctly, despite following all the instructions/advice I can find. In my home.nix I have:xsession = {
<funfrock>
Arg, sorry for the early send. I have just xsession.enable = true and windowManager.xmonad.enable = true; and I import a config file
<funfrock>
in my system config I just enable the xserver and lightdm and no desktop or windowmanager
<rycee>
Not `xsession.windowManager.xmonad.enable = true;`?
<funfrock>
sorry, yes, that's what I have
<rycee>
The `xsession.` in the beginning is important.
<funfrock>
and when I `home-manager switch`, I don't get any errors
<rycee>
Do you get an xterm window?
<funfrock>
I do not, I can't progress past the login manager
<rycee>
Hmm, do you have a `~/.xsession` file?
<rycee>
It should include a line similar to `/nix/store/lf4aaz8hgf2vs7zssf9wwbjy8p0smx05-xmonad-with-packages-8.6.4/bin/xmonad`…
<rycee>
Plus some other stuff like systemctl start and stop.
<funfrock>
Yeah, it exists and that line is there
<funfrock>
right
<funfrock>
Are there any packages I need to ensure are installed? Or is the configuration enough
<funfrock>
For instance, I don't have `startx`
<rycee>
Sorry, Firefox is misbehaving a bit.
<funfrock>
I'm happy to put files up on pastebin or similar if that would be helpful
<rycee>
As far as I know it should work with just the configuration.
<rycee>
Could you try doing `journalctl --user -b`?
<rycee>
See if systemd mentions starting any user services…
<funfrock>
It starts things I expect, like gpg-agent, and then towards the end `nixos-activation.service: Succeeded.`
<funfrock>
Do I need to do something to tell lightdm to run `.xsession` as opposed to looking for a system-wide xsession definition?
<rycee>
No, it should run that automatically if it is provided. In the future there will be a special "xsession" desktop session you can choose in lightdm.
<rycee>
So it is quite pecular that it wouldn't work.