johnw has quit [Ping timeout: 272 seconds]
alexteves has quit [Remote host closed the connection]
johnw has joined #nix-darwin
{^_^} has quit [Remote host closed the connection]
philr has joined #nix-darwin
nix-build has joined #nix-darwin
philr has quit [Ping timeout: 240 seconds]
cbarrett has joined #nix-darwin
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
trcc has joined #nix-darwin
codyopel[m] has quit [Read error: Connection reset by peer]
thefloweringash[ has quit [Read error: Connection reset by peer]
copumpkin[m] has quit [Remote host closed the connection]
tfc[m] has quit [Remote host closed the connection]
__Sander__ has joined #nix-darwin
philr has joined #nix-darwin
nikivi has joined #nix-darwin
<nikivi> does anyone have a guide on how I can configure zsh plugins with nix on macOS?
<LnL> just set fpath?
<nikivi> LnL what do you mean?
<nikivi> I am currently using https://github.com/getantibody/antibody
<nikivi> and it works well but I dont want to install antibody just to get my zsh plugins working
<nikivi> I was thinking of either using nix-darwing or home manager
<nikivi> but reading README of home manager, there is not many docs on macOS as its NixOS focused
<nikivi> nix-darwin maybe does what I want
<nikivi> I basically want to have something like this. List plugins I want installed and have it work
<LnL> oh, like actual plugins
<nikivi> yeah
<LnL> guess you could make an expression that puts the relevant files in $out/share/zsh/site-functions
<nikivi> will try that, thanks
<nikivi> I will also be trying to get away from using https://github.com/anishathalye/dotbot
<nikivi> to using nix-darwin or home manager (not fully sure what the difference between them is)
<LnL> nix-darwin is like nixos, it configures launchd, /etc, users, ... while home-manager configures files in home, etc.
<nikivi> so its fine to use nix-darwin and home-manager together
<LnL> sure, some people do
<nikivi> or nix-darwin can configure home files well too
<nikivi> one thing I am not sure I understand full is that it seems people try to configure everything with Nix
<nikivi> so they for example embed things like "alias a=exa" inside nix too
<nikivi> and not have a .zsh file with bunch of things that you then source from nix or something
<nikivi> it seems that it adds some unnecessary weigth
<nikivi> weight*
<LnL> I missuse nix-darwin for a some dotfiles like ~/.gitconfig, so you can but it's not supported properly
<LnL> it's nice if you have conditionals for enabling/overriding certain values
nikivi has quit [Quit: Textual IRC Client: www.textualapp.com]
philr has quit [Quit: WeeChat 2.2]
nikivi has joined #nix-darwin
<nikivi> on darwin, how you you usually install packages from nixpkgs
<nikivi> ni(){
<nikivi> nix-env -iA nixpkgs."$1"
<nikivi> nix-env -i
<nikivi> }
<nikivi> I had this zsh func I was using: nix-env -iA nixpkgs."$1"
<nikivi> where as on https://nixos.org/nixos/packages.html#, the instructions always prefix it with nixos
<nikivi> I also thought I could just use: nix-env -i <pkg-name>
<nikivi> for example I want to install https://nixos.org/nixos/packages.html#gcloud on macOS
hamishmack has joined #nix-darwin
<nikivi> how do I know from which channel I have to install it from so it works on mac
jtojnar has quit [Quit: jtojnar]
jtojnar has joined #nix-darwin
nix-build has quit [Remote host closed the connection]
<LnL> I use nix-env -f '<nixpkgs>' -iA "$@" which works the same on both nixos and other platforms
<nikivi> can you explain please how it differs from mine?
<nikivi> I am not sure I fully get -f '<nixpkgs>' part
pikajude has quit [Quit: ZNC 1.7.1 - https://znc.in]
<LnL> nix-env is weird and uses channel names instead of NIX_PATH entries
pikajude has joined #nix-darwin
alexteves has joined #nix-darwin
{^_^} has joined #nix-darwin
trcc has quit [Remote host closed the connection]
johnw has quit [Ping timeout: 268 seconds]
johnw has joined #nix-darwin
ryanartecona has joined #nix-darwin
__Sander__ has quit [Quit: Konversation terminated!]
philr has joined #nix-darwin
{^_^} has quit [Remote host closed the connection]
{^_^} has joined #nix-darwin
erickomoto has joined #nix-darwin
erickomoto has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
erickomoto has joined #nix-darwin
erickomoto has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
philr has quit [Ping timeout: 255 seconds]
ryanartecona has quit [Quit: ryanartecona]
peel has joined #nix-darwin
<LnL> TFW. you want to be productive but end up debugging a a build failure instead
<LnL> why doesn't software just work
ryanartecona has joined #nix-darwin
trcc has joined #nix-darwin
ryanartecona has quit [Quit: ryanartecona]
Lisanna has joined #nix-darwin
trcc has quit [Remote host closed the connection]
peel has quit [Quit: Connection closed for inactivity]