<pumpy>
if i set programs.bash.historyFile = "${config.xdg.dataHome}/bash/history"; why doesn't that dir get created so the file can be created by bash pls?
devalot has joined #home-manager
o1lo01ol1o has joined #home-manager
o1lo01ol1o has quit [Ping timeout: 264 seconds]
stephank2 has joined #home-manager
stephank has quit [Ping timeout: 272 seconds]
stephank2 is now known as stephank
o1lo01ol1o has joined #home-manager
o1lo01ol1o has quit [Ping timeout: 260 seconds]
kalbasit has quit [Ping timeout: 272 seconds]
o1lo01ol1o has joined #home-manager
o1lo01ol1o has quit [Ping timeout: 256 seconds]
cole-h has quit [Ping timeout: 240 seconds]
M0-[m] has quit [Quit: Idle for 30+ days]
ks2048[m] has quit [Quit: Idle for 30+ days]
o1lo01ol1o has joined #home-manager
maxsc has joined #home-manager
o1lo01ol1o has quit [Remote host closed the connection]
<maxsc>
Hi, I was wondering how to inject variables into the scope of hm modules? I'm using hm as a flake and the nix-darwin module, so I want the host configuration and the inputs from my flake to be in the scope of hm modules.
<maxsc>
I tried the following: ~ _module.args = { darwinConfig = config; };~ in my hm config but this isn't working..
<maxsc>
I saw that in commit 733978 the nixos configuration is passed along, should I file a PR to do the same for the nix-darwin module?
maxsc has quit [Ping timeout: 245 seconds]
superherointj has joined #home-manager
kalbasit has joined #home-manager
cole-h has joined #home-manager
quinn has quit [Ping timeout: 244 seconds]
quinn has joined #home-manager
<pumpy>
using home manager, anyone know why the alacritty module config: bell = {animation = "Linear"; color = "#ff0000" duration = 100;}; doesn't work? when i press backspace there's no visible flash. same config on openbsd does tho
<piegames1>
pumpy: Define "doesn't work". Have you checked the output configuration for sanity and correctness?
<piegames1>
If the config is fine, then you have an alacritty problem, not a home-manager one.
<pumpy>
screen doesn't flash
__monty__ has joined #home-manager
<pumpy>
but when i enter printf '\a' to terminal prompt, screen does flash. so alacritty isn't the problem
<pumpy>
dont know why bash doesn't send \a when i press backspace at empty prompt. you ever see that?
<cole-h>
I don't think backspace sends the bell in alacritty.
<cole-h>
Might be a difference in versions.
<pumpy>
ya it does
<pumpy>
on my other box it works, but that's not a nixos setup
<__monty__>
Bells are often disabled by default because they're annoying. Have you checked the relevant configurations?
<cole-h>
Could be shell-related
<pumpy>
ya it's probably nixos default bash config, because printf '\a' at the prompt shows alacritty making the visual bell
<pumpy>
don't know what bash config does it otherwise i'd look at the bash module
<pumpy>
on another topic, if i set programs.bash.historyFile = "${config.xdg.dataHome}/bash/history"; why doesn't that dir get created so the file can be created by bash pls?
o1lo01ol1o has joined #home-manager
o1lo01ol1o has quit [Remote host closed the connection]
<piegames1>
pumpy: Shouldn't this be the job of bash?
<pumpy>
i just thought that with nix, if you configure it to use a dir, it'll make sure the dir exists?
<piegames1>
But to answer your question: the option `programs.bash.historyFile` probably simply adds some line into the bashrc or the like. It does not "create a file" in that sense like `home.files.<…>` would do.
<pumpy>
if i set xdg.enable true will it do it then?
<pumpy>
if not, what's xdg.enable do? the docs dont really say
<nicolas[m]>
It allows you to redefine the default xdg variables `XDG_{CONFIG,CACHE,DATA}_HOME`
<pumpy>
oh, i thought maybe it took control over the xdg dirs and creating subdirs in them as needed or something, dang
<pumpy>
nicolas[m]++
<{^_^}>
nicolas[m]'s karma got increased to 6
<pumpy>
im using home manager so i enabled programs.readline and now there's a inputrc file that includes /etc/inputrc which DOES have set bell-style none
<pumpy>
__monty__++
<{^_^}>
__monty__'s karma got increased to 23
<pumpy>
piegames1++
<{^_^}>
piegames1's karma got increased to 3
<nicolas[m]>
what is the usual way to resolve a collision between two packages providing the same file?
<nicolas[m]>
Wrapping one package and copying its $out while omitting the file is an ugly solution