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
<pumpy> i'd have to copy the file to the machine and have it user it from there
<pumpy> i'd rather just copy it right into place
<pumpy> i use ansible fwiw
o1lo01ol1o has joined #home-manager
o1lo01ol1o has quit [Ping timeout: 260 seconds]
<pumpy> that ok?
devalot has quit [Quit: ZNC - http://znc.in]
<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
evalexpr has quit [Quit: ZNC 1.8.2 - https://znc.in]
evalexpr has joined #home-manager
cole-h has quit [Ping timeout: 260 seconds]
o1lo01ol1o has joined #home-manager
<nicolas[m]> "resolved" the issue by disabling the option that caused a collision
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #home-manager
o1lo01ol1o has quit [Ping timeout: 260 seconds]
o1lo01ol1o has joined #home-manager
__monty__ has quit [Quit: leaving]
<rycee> nicolas: the typical solution is to change the package priority, if you do a search for that you should find some information.
st3r4g has joined #home-manager
o1lo01ol_ has joined #home-manager
<nicolas[m]> rycee++
<{^_^}> rycee's karma got increased to 33
<nicolas[m]> Thanks
o1lo01ol1o has quit [Ping timeout: 246 seconds]
kalbasit has quit [Ping timeout: 256 seconds]
st3r4g has quit [Quit: leaving]
o1lo01ol_ has quit [Remote host closed the connection]
o1lo01ol1o has joined #home-manager