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
MmeQuignon has quit [Ping timeout: 260 seconds]
rajivr has joined #home-manager
AlpineLlama has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
AlpineLlama has joined #home-manager
justanotheruser has joined #home-manager
justanotheruser has quit [Quit: WeeChat 2.9]
justanotheruser has joined #home-manager
quinn has joined #home-manager
cole-h has quit [Ping timeout: 252 seconds]
liketechnik has joined #home-manager
<liketechnik> Hello, I'm currently trying to configure starship and can't figure out how to set for example the format of the time module, because the string needs to contain `\[` (compare https://starship.rs/config/#example-49), and no matter how I escape the backslash in my configuration file I'm not getting it to output `\]` (it's either `]` or `\\]` or with even more slashes).
tristan[m] has quit [Quit: Idle for 30+ days]
crysikrend has joined #home-manager
<crysikrend> Hey everyone, I need a bit of help if that's okay. Im switching from standard .config/ files and im trying to get used to home-manager. I'm currently updating .config/fish/config.fish, except I have some stuff already in my config file that makes tmux run every time. How would I append / inject some text into my generated fish config file?
<crysikrend> that's what I'm trying to recreate it my fish config
<liketechnik> crysikrend: I'm not totally sure it's what you're looking for, but with https://nix-community.github.io/home-manager/options.html#opt-programs.fish.interactiveShellInit you should be able to attach to tmux when fish is started
<crysikrend> I'm just looking and I think you're right, I mistook that as something else at first but after looking through the auto-generated file it seems to just be the location in the config file I think:)  I'm not quite sure how to write this, it's a list of strings right? Do I now need to go through my file and add "'s at the beginning and end of each
<crysikrend> line?
<liketechnik> crysikrend: I think that would work too, though what I used is `
<liketechnik> programs.fish.interactiveShellInit = ''
<liketechnik> line1
<liketechnik> line2
<liketechnik> line3
<liketechnik> '';
<crysikrend> Can I escape quotes with \" inside that block of text alright?
<crysikrend> okay it seems to like that, let me continue!
<liketechnik> yes. But it's easier to use to single quotation marks (') at the beginning and end (that's also used in the above)
<crysikrend> Oh, you used single quote marks?
<crysikrend> interesting
<crysikrend> okay so I think something is up - whenever I start a fish shell, it seems to hang for a moment and do nothing. If I do enable = false; then the basic fish seems to work so I'm wondering if something is clashing.
<crysikrend> Oh and thanks for the help:)
<crysikrend> learning a lot
<liketechnik> no problem, happy that I'm helpfull :)
<crysikrend> yeah fish seems to take ages to load hmm
aveltras has joined #home-manager
<crysikrend> Perhaps its one of the other things I need, like the 'login shell init'?
<liketechnik> I'm not sure, I'm not using fish anymore, so I didn't configure it with nix
<crysikrend> yeah, fish --debug config seems to hang on 'sourcing /home/user/.config/fish/config.fish so I wonder if something is wrong with what was autogenerated
<crysikrend> okay wittled it down - for some reason when I do 'tmux list-sessions | grep -v attached' it hangs
<crysikrend> I could write anything instead of attached and it'd hang
<liketechnik> weird. I don't really have an idea what could be causing that, sorry :/
<crysikrend> thank you for the home-manager help though:)
<crysikrend> liketechnik I fixed it by outputting tmux list-sessions into a file and then reading from the file to grep it, not the nicest solution but works
<liketechnik> nice
liketechnik has quit [Ping timeout: 240 seconds]
liketechnik has joined #home-manager
MmeQuignon has joined #home-manager
crysikrend has quit [Quit: Connection closed]
simpson has joined #home-manager
sparogy has quit [Quit: ZNC 1.8.2 - https://znc.in]
sparogy has joined #home-manager
__monty__ has joined #home-manager
MmeQuignon has quit [Quit: WeeChat 3.1]
liketechnik has quit [Quit: liketechnik]
liketechnik has joined #home-manager
Synthetica has joined #home-manager
sleepyMonad has joined #home-manager
cole-h has joined #home-manager
liketechnik_ has joined #home-manager
liketechnik has quit [Ping timeout: 240 seconds]
romanofski_ has quit [Read error: Connection reset by peer]
romanofski has joined #home-manager
rajivr has quit [Quit: Connection closed for inactivity]
aveltras has quit [Quit: Connection closed for inactivity]
__monty__ has quit [Quit: leaving]
romanofski has quit [Ping timeout: 240 seconds]
sumner has quit [Quit: The Lounge - https://thelounge.chat]
sumner has joined #home-manager
ryantrinkle has joined #home-manager
liketechnik_ has quit [Remote host closed the connection]
Synthetica has quit [Quit: Connection closed for inactivity]
romanofski has joined #home-manager
supersandro20001 has joined #home-manager
supersandro2000 has quit [Killed (hitchcock.freenode.net (Nickname regained by services))]
supersandro20001 is now known as supersandro2000