andi- has quit [Remote host closed the connection]
andi- has joined #home-manager
pie_ has joined #home-manager
tdeo has quit [Quit: Quit]
tdeo has joined #home-manager
tdeo has joined #home-manager
tdeo has quit [Changing host]
wkral has joined #home-manager
<wkral>
Hello, I was wondering if anyone knows how to enable bash completion on macOS with a single user nix installation
<wkral>
Alternatively, do I have some way to access what would normally be in nixos/configuration.nix `environment.pathsToLink`
<__monty__>
wkral: Do you specify your shell in HM?
<__monty__>
Cause it "just works" for me (using fish).
<wkral>
I do, it seems that the modules for fish and zsh have that as part of them, but not so much with bash
<__monty__>
I'd be surprised though. That being the default nixos shell.
<wkral>
I think that might be the source of this, since it is on NixOS is pretty easy to enable completion with `programs.bash.enableCompletion`
<wkral>
It doesn't seem like there is such an option with HM
<wkral>
I've been trying to run this on macOS without using nix-darwin which is maybe a mistake, but I was hoping to keep things simple and have nix + hm be a brew replacement
<__monty__>
nix-darwin's awesome though.
<__monty__>
And I still need brew for some things, sadly.
<wkral>
It seems like nix-darwin does a lot of system level stuff, which I didn't see a need for at the moment with my current goals
<__monty__>
That's the awesome bit though.
<__monty__>
No more having to dig through system preferences for wth some setting is.
<wkral>
I'll have a look at again when I get to that part, but I was mostly looking to replace my dotfiles and vim setup
<wkral>
my hope is to do that cross platform, and have a simple way to install configure my user on a server where I don't have root access
mexisme has joined #home-manager
<wkral>
Is there a way to add paths to be linked? As that's ultimate what's enabling completion normally
<__monty__>
Yes, I think it's the `files.` options.
<__monty__>
If those aren't suited you have to work with a custom activation block.
<wkral>
Is that like `home.file` or is that a parameter to the function?
<__monty__>
No, I think that's the option.
<wkral>
Ok, let me see what I can do with that
<__monty__>
Oh, but it's copying not linking I guess.
<__monty__>
You'll probably need a custom activation block.
<__monty__>
Do try to make it idempotent for your own sanity.
<wkral>
Sorry still learning a bunch of this, what do you mean by custom activation block?