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
cole-h has quit [Ping timeout: 246 seconds]
jesystanii has quit [Ping timeout: 252 seconds]
ryantrinkle has joined #home-manager
ryantrinkle has quit [Ping timeout: 268 seconds]
ryantrinkle has joined #home-manager
AlpineLlama has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
AlpineLlama has joined #home-manager
rajivr has joined #home-manager
justanotheruser has quit [Ping timeout: 276 seconds]
justanotheruser has joined #home-manager
cole-h has joined #home-manager
jesystanii has joined #home-manager
cole-h has quit [Ping timeout: 252 seconds]
svrana has quit [Ping timeout: 276 seconds]
svrana has joined #home-manager
evanjs has quit [Read error: Connection reset by peer]
evanjs has joined #home-manager
justanotheruser has quit [Ping timeout: 276 seconds]
__monty__ has joined #home-manager
<woffs> how to config nix.conf in home-manager on non-nixos?
jesystanii has quit [Ping timeout: 240 seconds]
gibx has joined #home-manager
<gibx> hello, i'm triing to rebuild nixos with home-manager but after an upgrade i got an error: python2 support has been removed from neovim, please remove withPython and extraPythonPackages
<gibx> but in my conf I never specify any withPython extraPythonPackages confs
gibx has quit [Ping timeout: 250 seconds]
<hexa-> you're welcome!
<hexa-> it was a pleasure ripping that crufty piece of eol software out
<hexa-> fwiw: teto who maintains the neovim module in home-manager merged the pull request in nixpkgs, so maybe he can look at updating the home-manager module
pumpy has joined #home-manager
<pumpy> after i upgrade my system (nixos-rebuild switch --upgrade) do i need to do anything to upgrade home manager managed progs/config?
gibx has joined #home-manager
gibx has quit [Ping timeout: 245 seconds]
justanotheruser has joined #home-manager
<SumnerEvans[m]> pumpy: I recommend running `nix-channel --upgrade` as well to make sure your user channels are up-to-date and then run `home-manager switch`.
<pumpy> ty SumnerEvans[m] do i run `nix-channel --upgrade` as root or as the user using home manager?
cole-h has joined #home-manager
<SumnerEvans[m]> Well, if you ran `nixos-rebuild switch --upgrade`, that runs `nix-channel --upgrade` as root automatically, so no need to do it again.
<SumnerEvans[m]> My normal process for upgrading is: `nixos-rebuild switch --upgrade` then `nix-channel --upgrade` then `home-manager switch`.
<pumpy> SumnerEvans[m] if `nixos-rebuild switch --upgrade` runs `nix-channel --upgrade` why would you run `nix-channel --upgrade` again?
<SumnerEvans[m]> pumpy: because you have two channel lists: one for root, and one for your user. You can see this by running `nix-channel --list` as both root and your user.
<pumpy> nix-channel --list as user returned nothing, but i have home manager running just fine.w hat's that mean?
<pumpy> im on nixos 20.09
<SumnerEvans[m]> oh, do you have the channel globally? (does it show up when you run `nix-channel --list` as root?)
<SumnerEvans[m]> *the home-manager channel, that is
<SumnerEvans[m]> if that's the case, then there's no reason to do the `nix-channel --update` again.
<pumpy> sudo nix-channel --list shows the nixos-20.09 channel that's it, then nothing if i run it as user
<pumpy> i install home manager as a nixos pkg so i think home manager is locked to 20.09
<ambroisie> Anybody using `home-manager` to export the LESS_TERMCAP variable ?
<ambroisie> If yes, how do you configure them for `home.sessionVariables` to use them ?
<ambroisie> The `$'<string>'` notation is a bash-ism for C-style strings
<ambroisie> And I'm not sure how to do that correctly in Nix
<SumnerEvans[m]> pumpy: ah, I see. I don't know much about the pinned versions, unfortunately.
<ambroisie> Does simply using the C notation work?
<pumpy> ya me either hehe ty
<SumnerEvans[m]> > "$'\E[1;31m'"
<{^_^}> "$'E[1;31m'"
<SumnerEvans[m]> > "$'\\E[1;31m'"
<{^_^}> "$'\\E[1;31m'"
<ambroisie> SumnerEvans[m]: thanks!
<ambroisie> I assume that they are being set in a bash script then?
<ambroisie> SumnerEvans[m]: unfortunately that does not seem to work :'(
<infinisil> ,escape
<{^_^}> Usage: ,escape <text> to show how to escape the given text in Nix
<SumnerEvans[m]> infinisil: where is the bot source code so I can learn what features it has?
<infinisil> SumnerEvans[m]: https://github.com/infinisil/nixbot, but it's not super well documented and a bit hacky :)
<ambroisie> So for future reference, using printf in shell subtitution works correctly
<ambroisie> ,escape "\\E[1;31m"
<{^_^}> Escape this in '' strings with: "\\E[1;31m"
<{^_^}> Escape this in " strings with: \"\\\\E[1;31m\"
<ambroisie> Nice :thumbsup:
<ambroisie> ,escape $'\E[1;31m'
<{^_^}> Escape this in " strings with: $'\\E[1;31m'
<{^_^}> Escape this in '' strings with: $'\E[1;31m'
<ambroisie> And simply using the `$'<sequence>'` notation does not work, because it is quoted inside a string
pumpy has left #home-manager [#home-manager]
judson_ has quit [Remote host closed the connection]
midchildan has quit [Ping timeout: 260 seconds]
davidtwco has quit [Ping timeout: 245 seconds]
midchildan has joined #home-manager
davidtwco has joined #home-manager
rajivr has quit [Quit: Connection closed for inactivity]
o1lo01ol1o has joined #home-manager
o1lo01ol1o has quit [Read error: Connection reset by peer]
sumner has quit [Ping timeout: 265 seconds]
Synthetica has joined #home-manager
justanotheruser has quit [Ping timeout: 260 seconds]
allgreed2 has joined #home-manager
allgreed2 has quit [Client Quit]
allgreed2 has joined #home-manager
__monty__ has quit [Quit: leaving]
gibx has joined #home-manager
allgreed2 has quit [Quit: The Lounge - https://thelounge.chat]
allgreed2 has joined #home-manager
scott has joined #home-manager
allgreed2 has quit [Client Quit]
allgreed has joined #home-manager
<scott> in a home.nix with `{ config, lib, ... }`, what's the difference between config.lib and lib.hm? e.g. my understanding is config.lib.file and lib.hm.dag both contain functions defined by home-manager, but i don't know why both locations exist
justanotheruser has joined #home-manager
<scott> i just noticed `config.lib.dag` also exists, but going the other way around, `lib.hm.file` appears not to exist
Synthetica has quit [Quit: Connection closed for inactivity]
heywoodlh has joined #home-manager
supersandro20007 has joined #home-manager
supersandro2000 is now known as Guest37374
Guest37374 has quit [Killed (hitchcock.freenode.net (Nickname regained by services))]
supersandro20007 is now known as supersandro2000
<scott> hm, i suppose `file` doesn't appear under `lib.hm` because it's defined here instead of in modules/lib https://github.com/nix-community/home-manager/blob/b2dec35b86e8488831734ff7936589d710b47420/modules/files.nix#L42-L47
jesystanii has joined #home-manager