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
linarcx has quit [Quit: WeeChat 2.4]
DanielFabian has joined #home-manager
iceypoi has quit [Ping timeout: 246 seconds]
wolfman154 has joined #home-manager
wolfman154 has quit [Quit: Mutter: www.mutterirc.com]
wolfman154 has joined #home-manager
wolfman154 has quit [Client Quit]
thePirateKing has joined #home-manager
daveyjones01 has joined #home-manager
daveyjones01 has quit [Remote host closed the connection]
daveyjones01 has joined #home-manager
daveyjones01 has quit [Client Quit]
thePirateKing has quit [Ping timeout: 276 seconds]
judson has quit [Ping timeout: 240 seconds]
judson has joined #home-manager
<judson> Looking at the new alacritty module - I've been managing my alacritty config in home-manager and starting to contemplate something a little weird:
<judson> Alacritty can do a live update of many of it's options - one thing I use this for is switching the terminal theme automatically (light/dark).
<judson> But it seems to only monitor a live file. I've been thinking about putting the xdg.config file at a dummy path and then adding an onChange hook to copy it to the alacritty.yml.
<judson> In part I'm looking for a reaction to that approach.
wolfman154 has joined #home-manager
wolfman154 has quit [Quit: Mutter: www.mutterirc.com]
wolfman154 has joined #home-manager
wolfman154 has quit [Client Quit]
<DanielFabian> if I try and manage fish through home-manager somehow nix paths are not set up and nothing works
<DanielFabian> any idea why?
<DanielFabian> do I have to programs.fish.enable both in system AND hm?
<rycee> DanielFabian: Unfortunately I don't know since I'm not a fish user :-/
<rycee> judson: By "live file" you mean that it needs to be a real file, not a symlink?
<DanielFabian> rycee: I think I found the culprit
<DanielFabian> it's not so much that it doesn't source the variables as it is much more that the system packages sources ncurses
<DanielFabian> but home manager doesn't
<DanielFabian> so that completely breaks, because during shell init it dies
<DanielFabian> rycee: i've now tried adding ncurses to the module to see if it works
<DanielFabian> no, doesn't work ;-(
<DanielFabian> I guess I can't use just hm for the login shell, then
<rycee> DanielFabian: I think jomik in #nixos uses the HM fish module, perhaps you can try pinging him in #nixos?
<DanielFabian> rycee: ya, I might. The weird thing is, it works just fine, if I enable programs.fish.enable at the system level (no other settings)
<DanielFabian> rycee: I think, the hm-session vars are somehow not loaded correctly from just the fish version of the package
<rycee> judson: This seems relevant: https://github.com/jwilm/alacritty/issues/2237
<rycee> Which I understand is to load the session variables.
<DanielFabian> rycee ah... that migth be a problem then
<DanielFabian> because presumably the env vars are not available yet during the previous line (functions)
<DanielFabian> and that's where it dies
<DanielFabian> does hm-session-vars.sh also link system packages?
<DanielFabian> anyway, I think I'll just leave the system's fish enabled too
<DanielFabian> I doubt it causes any harm
wolfman154 has joined #home-manager
wolfman154 has quit [Client Quit]
wolfman154 has joined #home-manager
wolfman154 has quit [Client Quit]