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]
nitsky has joined #home-manager
<nitsky> Hi, I am trying to set up NixOS w/ flakes and home-manager, but there is some sort of syntax error in home-manager. I believe it is because I am on Nix 2.4-pre***** and home-manager claims it does not support 2.4 yet. However, in order to use flakes, I believe I need to be on the unstable version of Nix. Is it possible to get NixOS + Flakes +
<nitsky> home-manager running currently?
<__monty__> nitsky: I do think there were changes made to support flakes. Might still be in a separate branch though? Good luck figuring this out.
__monty__ has quit [Quit: leaving]
quinn has quit [Ping timeout: 268 seconds]
quinn has joined #home-manager
ryantrinkle has quit [Ping timeout: 252 seconds]
<AmandaC> nitsky: I'm using HM + Flakes just fine on my NixOS machine, what exactlt is the error you're getting?
<nitsky> AmandaC: I downgraded home-manager to the same commit as referenced by the "devos" project, and it worked.
<nitsky> Then, I upgraded to the latest commit, including a flake-related update from a couple minutes ago, and it's still working
<nitsky> So all good now, thank you :)
ryantrinkle has joined #home-manager
nitsky has quit [Quit: Connection closed]
mcornick has joined #home-manager
mcornick has quit [Client Quit]
mcornick has joined #home-manager
<matthewcroughan[> I can't quite figure out how to use `gtk.iconTheme`
<matthewcroughan[> anyone got examples?
<matthewcroughan[> ah, so a name without a package = never going to work?
<matthewcroughan[> how do you figure out the names for the themes/
<matthewcroughan[> * how do you figure out the names for the themes?
<matthewcroughan[> is it `Arc-Dark` or is it `Arc-dark` ?
<matthewcroughan[> etc
<SumnerEvans[m]> Trial and error tbh.
<matthewcroughan[> do you happen to know if it's uppercase/lower `d`?
<matthewcroughan[> just want to get everything dark
<SumnerEvans[m]> For iconTheme, it's neither.
<matthewcroughan[> woo
<matthewcroughan[> ❤️
<matthewcroughan[> What display manager do you use?
<matthewcroughan[> I see you're using `home.sessionVariables`
<SumnerEvans[m]> I think I used `lxappearance` to actually figure out what the theme name was.
<SumnerEvans[m]> I'm using i3wm/sway
<matthewcroughan[> Yes, but how do you launch that?
<matthewcroughan[> GDM? SDDM?
<SumnerEvans[m]> On my i3 machines, I have `services.xserver.windowManager.i3.enable` in my global config and it uses whatever the default launcher is for that.
<SumnerEvans[m]> For my sway machines, I just log in via the TTY and then type `sway`
<matthewcroughan[> Interesting, the thing that was dark is now not dark anymore.
<matthewcroughan[> Despite `Arc-Dark` being set.
<SumnerEvans[m]> Do you have `gtk-application-prefer-dark-theme` set? https://git.sr.ht/~sumner/home-manager-config/tree/master/item/modules/window-manager/default.nix#L52
<matthewcroughan[> No, I don't
<matthewcroughan[> but guess what
<matthewcroughan[> a reboot fixed that
<matthewcroughan[> if I rebuild nixos, home-manager can't be in a good state until a reboot occurs
<matthewcroughan[> I guess because of something to do with `export __HM_SESS_VARS_SOURCED=1` being in the .profile stuff
<matthewcroughan[> dunno, just seems really wrong
ryantrinkle has quit [Ping timeout: 240 seconds]
<matthewcroughan[> I can reliably do this, if I *change* anything about my home-manager config, `rebuild switch` and then try and launch an app that is supposed to be dark for example, it'll screw everything up and the profile will not be quite right
ryantrinkle has joined #home-manager
supersandro20007 has joined #home-manager
supersandro2000 is now known as Guest68734
Guest68734 has quit [Killed (hitchcock.freenode.net (Nickname regained by services))]
supersandro20007 is now known as supersandro2000
cole-h has joined #home-manager