ChanServ changed the topic of #home-manager to: Support and discussion around the Home Manager project (https://github.com/nix-community/home-manager) | Logs: https://logs.nix.samueldr.com/home-manager
<matthewcroughan[> <hexa- "wfm using sway, but I guess that"> wfm?
<DigitalKiwi> 'works for me'
<DigitalKiwi> sddm tries to launch kwin even when it's an xmoand+plasma5 session :/
<matthewcroughan[> <hexa- "wfm using sway, but I guess that"> I don't think you understand the issue
<matthewcroughan[> The issue is that `~/.profile` is ignored by SDDM, GDM, LightDM.
<DigitalKiwi> kiwi@mvp-nixos ~ []$ cat .config/plasma-workspace/env/set_window_manager.sh
<DigitalKiwi> export KDEWM=/run/current-system/sw/bin/xmonad
<DigitalKiwi> shouldn't need to do that and didn't used to have to :( i think it works with lightdm maybe...
<matthewcroughan[> It does not work with LightDM.
<matthewcroughan[> `~/.profile` is ignored.
<matthewcroughan[> Therefore the code I just gave you doesn't work, if launched via a display manager.
<matthewcroughan[> If launched via `bash`, i.e by logging in via a TTY it works.
<matthewcroughan[> It's a very simple to reproduce issue.
<DigitalKiwi> i was talking about the other problem not yours
<matthewcroughan[> ah ok :)
<DigitalKiwi> anyway so 2 things. you might be able to find one of those files like the one i use for xmonad that might do what you want. and depending on what you need to do...i think what i ended up doing is put everything in .bashrc >.>
<DigitalKiwi> oh and the third thing is; DEs are just generally broken on nixos :(
<DigitalKiwi> tbf ... a lot of them are just generally broken ;p but nixos has a few extra edges
<matthewcroughan[> `wayland.windowManager.sway.extraSessionCommands` exists
<matthewcroughan[> it will probably not help me
<matthewcroughan[> I need to launch sway with `bash`
<matthewcroughan[> `wayland.windowManager.sway.systemdIntegration`
<matthewcroughan[> * `wayland.windowManager.sway.systemdIntegration` exists
<matthewcroughan[> `wayland.windowManager.sway.wrapperFeatures` exists
<matthewcroughan[> `wayland.windowManager.sway.wrapperFeatures.base` exists..
rajivr has joined #home-manager
<lunik1> could you just not use a display manager? DMs don't seem to play nice with DEs managed by home-manager
<matthewcroughan[> rycee: I'm going to put this here for you, since you're the only one who can save us at this point :D
AlpineLlama has joined #home-manager
ryantrinkle has quit [Ping timeout: 240 seconds]
ryantrinkle has joined #home-manager
ryantrinkle has quit [Ping timeout: 252 seconds]
ryantrinkle has joined #home-manager
cole-h has quit [Ping timeout: 265 seconds]
<matthewcroughan[> polkit? o.O
<matthewcroughan[> > to the config.
<matthewcroughan[> What config?
<{^_^}> error: syntax error, unexpected ')', expecting ID or OR_KW or DOLLAR_CURLY or '"', at (string):495:1
<matthewcroughan[> * >
<matthewcroughan[> to the config.
<matthewcroughan[> What config?
<slby[m]> Ah, sorry. I put it in the sway config. So under extraConfig I think it was called.
<matthewcroughan[> under what though?
<matthewcroughan[> startup/
<matthewcroughan[> like this?
<matthewcroughan[> "directly from the profile"
<matthewcroughan[> what does that mean?
<slby[m]> extraConfig = ''
<slby[m]> exec ~/.nix-profile/libexec/polkit-gnome-authentication-agent-1
<slby[m]> '';
<matthewcroughan[> what does this do exactly?
<matthewcroughan[> `polkit-gnome-authentication-agent-1` I mean?
<matthewcroughan[> black boxes! :D
<matthewcroughan[> I just tested this, it did nothing.
<matthewcroughan[> I see it in htop
<matthewcroughan[> it ran
<matthewcroughan[> it did absolutely nothing of any measure
<matthewcroughan[> what is your reasoning for assuming this does anything?
<matthewcroughan[> Why would:
<matthewcroughan[> "application-level toolkit for defining and handling the policy that allows unprivileged processes to speak to privileged processes:"
<matthewcroughan[> Have anything to do with sourcing and profiles?
<slby[m]> Ah, sorry! It helped me. Sad that it couldn't help you.
<slby[m]> It is an authentication agent. And since I use pam to manage my session maybe that is why it helped me?
<matthewcroughan[> I don't think it did help you.
<matthewcroughan[> I think you think it did something it didn't.
<matthewcroughan[> Try taking it out, I bet you it won't change anything :D
<slby[m]> Mh, maybe but I had a problem with sourcing environment variables for quite a while and I was trying to get rid of it, that finally helped. And I used it on 2 different machines and after I used it it actually helped, but yes I will try taking it out later.
<matthewcroughan[> are your configs on git anywhere?
<slby[m]> Yes, but I don't feel comfortable to put them in the open atm.
<matthewcroughan[> why? if it doesn't have secrets in it
<matthewcroughan[> all the nix code ends up in one big blob in the end anyway
<matthewcroughan[> doesn't matter how organised/disorganised it is, hence being a programming language
<slby[m]> No there are no secrets in it, but I guess personal information that I want to treat that way. You motivated me to think about splitting that up and maybe putting the config up on a public git instance. But that will take a bit :D.
<slby[m]>
srk has joined #home-manager
evanjs has quit [Read error: Connection reset by peer]
evanjs has joined #home-manager
quinn has quit [Ping timeout: 265 seconds]
quinn has joined #home-manager
tad-lispy[m] has joined #home-manager
<tad-lispy[m]> Hello! I did `nix-channel --update` and `home-manager switch` and now something doesn't work. I would like to investigate, but first I'd like to switch back to see if the problem was introduced by the new generation or something else.
<tad-lispy[m]> How can I switch to a previous generation?
<tad-lispy[m]> Oh, thanks. I feel dumb to missed it.
<tad-lispy[m]> I looked at the readme but was searching for `switch` as in "switch back" :P
srk has quit [Quit: ZNC 1.8.2 - https://znc.in]
srk has joined #home-manager
__monty__ has joined #home-manager
Reventlov has quit [Quit: WeeChat 2.3]
ronthecookie has quit [Quit: o~/]
ronthecookie has joined #home-manager
Reventlov has joined #home-manager
quinn has quit [Quit: ZNC 1.8.1 - https://znc.in]
quinn has joined #home-manager
romanofski_ has quit [Read error: Connection reset by peer]
romanofski has joined #home-manager
aveltras has joined #home-manager
superherointj has joined #home-manager
ryantrinkle has quit [Ping timeout: 252 seconds]
ryantrinkle has joined #home-manager
aveltras has quit [Quit: Connection closed for inactivity]
cole-h has joined #home-manager
supersandro2000 has quit [Remote host closed the connection]
supersandro2000 has joined #home-manager
Mirrexagon has quit [Ping timeout: 248 seconds]
Mirrexagon has joined #home-manager
cole-h has quit [Ping timeout: 260 seconds]
evanjs has quit [Quit: ZNC 1.8.2 - https://znc.in]
evanjs has joined #home-manager
evanjs has quit [Remote host closed the connection]
evanjs has joined #home-manager
quinn has quit [Quit: ZNC 1.8.2 - https://znc.in]
quinn has joined #home-manager
quinn has quit [Ping timeout: 240 seconds]
mcornick has quit [Ping timeout: 260 seconds]
justanotheruser has joined #home-manager
sparogy has quit [Quit: ZNC 1.8.2 - https://znc.in]
sparogy has joined #home-manager
quinn has joined #home-manager
quinn has quit [Ping timeout: 268 seconds]
quinn has joined #home-manager
srk has quit [Ping timeout: 260 seconds]