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: 265 seconds]
lunik1 has quit [Quit: :x]
lunik1 has joined #home-manager
virkony has quit [Ping timeout: 276 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
tema has quit [Ping timeout: 246 seconds]
ryantrinkle has quit [Ping timeout: 268 seconds]
cole-h has joined #home-manager
<hpfr> does man page completion work for anyone? I only get the coreutils and c library, nothing I have installed. Is it because I'm using fish?
<supersandro2000> do you have programs.man.generateCaches = true ?
<hpfr> oh yes just found it, should have searched first https://github.com/nix-community/home-manager/pull/1483
<{^_^}> nix-community/home-manager#1483 (by DamienCassou, 33 weeks ago, merged): Generate man cache files
<hpfr> supersandro2000: I'm wondering why this isn't true by default?
<supersandro2000> shrug
<Ke> speaking of that, I have very few programming manpages on my nixos, is there a reasonable way to get those
<Ke> like man 2 fadvise is missing
<Ke> that's glibc stuff
<hpfr> also despite the analogous system option `documentation.man.generateCaches` also being false, `man` completes `spice-client` from my system packages, so I'm confused when these caches are used for completion and when they aren't
<Ke> is this a add glibc to systemPackages thing
<supersandro2000> try man fadvise64
<Ke> nope
<hpfr> well here's why it's false by default
<hpfr> > Since generating the cache can be expensive the option is off by default.
<{^_^}> error: syntax error, unexpected ')', expecting ID or OR_KW or DOLLAR_CURLY or '"', at (string):495:1
<hpfr> silence, bot
<supersandro2000> install man-pages
<supersandro2000> those manpages are not part of glibc package
<Ke> install as in systemPackages?
<supersandro2000> or with home-manager
<hpfr> aha, and for the spice-client completion, it's because the fish nixos module enables `documentation.man.generateCaches`
<hpfr> > 5399 manual pages were added.
<{^_^}> error: syntax error, unexpected ')', expecting ID or OR_KW or DOLLAR_CURLY or '"', at (string):495:1
cole-h has quit [Ping timeout: 240 seconds]
xAr86 has joined #home-manager
<xAr86> Hello :)
<xAr86> Is someone around having an idea how to set an option to a unicode-value e.g. "\uf0a0" value without having issues with less or to much escaping? (If I use 1 Backslash, no backslash is in config, if I use two two are in config).
<xAr86> Its for i3status-rust, I looked at the code and found toTOML function which could be escaping values in general?
<thibm> xAr86: I don't think that Nix has support for unicode literals
<thibm> But you can just write the unicode character in your file, if you're ok with that
<Kng[m]> Here you go: ""
<Kng[m]> Kinda sad that you can't pass it through to the toml tho (since toTOML sees the `\` and escapes it)
<petrichor> {^_^} seems very sad at the moment :(
<thibm> xAr86: you can also write \\uf0a0 (in the Nix file, generatedd as \uf0a0) and let the TOML parseer parse it has unicode on the other end.
<thibm> hm, like Kng[m] said
<thibm> With "\\uf0a0" I have only one backslash in the generated file (with writeText). How the config is generated?
<thibm> > "\uf0a0"
<{^_^}> "uf0a0"
<thibm> > "\\uf0a0"
<{^_^}> "\\uf0a0"
<xAr86> Kng[m]: how can I do this myself?
<xAr86> for other icons :D
<Kng[m]> https://unicode-table.com/en/ is your friend (Just "search" for \uWhatever)
<xAr86> thx Kng[m]
<thibm> xAr86: your text editor probably have a way to input a unicode character too
<xAr86> thibm: I searched for it but sublime is not that good equipped ^^ Also even after changing font and it works my Editor can't show the icons like in irc :D
<dutchie> you can always just do `printf '\uXXXX'` too
<xAr86> with ` or whats the correct syntax?
<xAr86> sorry new to nix
<dutchie> oh printf is a shell command
<dutchie> i just meant as a way to get one to copy & paste
<xAr86> ah ok
<xAr86> thx missunderstood it
<Kng[m]> Is there some nix fn to parse unicode? `${unicode "XXXX"}` would fix the "can't render private use area" problem
<Kng[m]> * Is there some nix fn to parse unicode? `${unicode "XXXX"}` would fix the "my editor can't render private use area" problem
<xAr86> Kng[m]: sounds like what I'm searching for :)
<Kng[m]> tbh the cleaner solution would be to run such over the whole string
<thibm> \\uf0a0 should really be OK. Do you have an simple example of config so I can test?
<Kng[m]> <thibm "\\uf0a0 should really be OK. Do "> toTOML runs `escape [ "\b" "\t" "\n" "\f" "\r" "\"" "\\" ];` (or at least the version I found on a random gist does)
<{^_^}> nix-community/home-manager#1935 (by liketechnik, 1 week ago, closed): Unable to configure some starship options
<xAr86> yeah thibm, I use nerdfonts (Meslo) with i3status-rust and need to override cpu icon as this has another id  (\\uf0e4) - config https://pastebin.com/upAEGqQY
<xAr86> I'm on master
<Kng[m]> You want something like `"\\(?!u)"` instead of `"\\"` (except idk how the escape fn works)
<xAr86> I would also go with \\ but even in "" or '' '' it makes \\ in my config and shows it as string in i3status-rust
notgne2[m] has quit [Quit: Idle for 30+ days]
<thibm> builtins.toJSON (used by formats.toml) escapes \ with \\
<thibm> So: Nix parser parses "\\uf0a0" correctly as "\uf0a0" (6 characters, starting with '\'). Most code works well with that string (like using passAsFile in writeText) but not buitlins.toJSON which "breaks" it by escaping the \
sleepyMonad has joined #home-manager
tema has joined #home-manager
__monty__ has joined #home-manager
<Kritnich> Having a weird issue while trying to run the tests for a PR. "attribute 'wrapNeovimUnstable' missing at modules/programs/neovim.nix" even though I set pkgs to nixpkgs-unstable. Checked my $NIX_PATH and the store it references also defines wrapNeovimUnstable in top-level/all-packages.nix. Anyone got an idea what might be the issue?
Synthetica has joined #home-manager
* piegames[m] is only mildly happy about the stale bot
<__monty__> It has always seemed to me like an aesthetics thing too (smaller open issue number).
tdeo has quit [Ping timeout: 245 seconds]
tdeo has joined #home-manager
superherointj has joined #home-manager
__monty__ has quit [Quit: leaving]
<simpson> Fewer issues for contributors to consider.
<xAr86> Does anyone know if I can hide the workspace-switcher on a i3status-rust bar? Can't find sth for that
heywoodlh has joined #home-manager
<SumnerEvans[m]> piegames[m]: well, the noise should be over. Now everyone can focus on just issues that actually matter.
cole-h has joined #home-manager
ardumont has quit [Ping timeout: 260 seconds]
ardumont has joined #home-manager
midchildan_ is now known as midchildan
justanotheruser has joined #home-manager
rajivr has quit [Quit: Connection closed for inactivity]
cole-h has quit [Ping timeout: 265 seconds]
cole-h has joined #home-manager
superherointj has quit [Quit: Leaving]
kalbasit[m] has quit [Ping timeout: 245 seconds]
kalbasit[m] has joined #home-manager
__monty__ has joined #home-manager
__monty__ has quit [Quit: leaving]
supersandro20004 has joined #home-manager
supersandro20004 is now known as supersandro2000