Lisanna has quit [Ping timeout: 276 seconds]
<gchristensen> LnL: mostly tests, sometimes a local server, but to start I just developed against production ... but not anymore
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hamishmack has joined #nix-darwin
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hamishmack has joined #nix-darwin
Lisanna has joined #nix-darwin
<eacameron> LnL: How does nix-darwin's lnl7/nix:ssh differ from the others? I have noticed I can't ssh into the others. Do we need an ssh one for nix 2?
philr has joined #nix-darwin
Lisanna has quit [Quit: Lisanna]
<nikivi> I moved nearly everything to nix and removed homebrew
<nikivi> however I feel like I made a mistake
<nikivi> it says that it created a symlink inside /usr/local/bin
<nikivi> but I don't have that directory now
<nikivi> what should I do?
<johnw> maybe just make it?
<johnw> sudo mkdir /usr/local/bin
<johnw> then let sublime create the helper there again
<nikivi> yeah this works
<nikivi> I am just trying to keep things the 'nix' way although not fully sure what that means yet
<nikivi> but I thought having this symlink there would be bad
<nikivi> I have quite a few nix derivations I need to make from brew though
<nikivi> hopefully it won't be too bad
<nikivi> I assume johnw you don't have brew installed?
<johnw> correct
<johnw> i don't consider system state to be entirely evil
<johnw> this isn't NixOS
<johnw> if I can avoid it, I do, but such is life on macOS
<nikivi> I can't find pip python package manager
<johnw> i never use pip
<nikivi> don't you need it for python dev?
<nikivi> or you just don't do python
<johnw> i make a Nix expression for my python packages
<nikivi> interesting
<johnw> probably messier than you need
<johnw> I'm sure there a "Python dev with Nix" guide somewhere out there
<johnw> i don't use python anymore
<nikivi> do you have some helpers to generate these nix expressions?
<johnw> no, I copy them like sourdough starter
<nikivi> can you ELI 5 what overlays are? :)
<johnw> an overlay adds/overrides something in the global package set
<johnw> one sec, let me google for you
<nikivi> will read that, thanks
<nikivi> I mostly do Go dev, not much python
<johnw> that last one might be the best
<nikivi> I am curious, what's the output of `echo -e ${PATH//:/\\n}` for you?
<nikivi> if not sensitive ofc
<johnw> for which shell?
<nikivi> your most used one
<nikivi> why do you switch shells?
<nikivi> I use zsh and been happy with it
<johnw> I use zsh too
<johnw> when did I switch shells?
<nikivi> > for which shell?
<nikivi> so I assume you do switch
<johnw> oh, I meant, which window
<johnw> because the output of your command is context sensitive
<nikivi> like if create new shell (cmd + t in iTerm) and enter that cmd
<johnw> oh, I see
<johnw> there you go
<nikivi> thank you
<nikivi> is mine just for fun
<nikivi> I want to clean it badly
<nikivi> as some things I am not sure why they are there even
<nikivi> johnw you don't use zsh plugin manager?
<johnw> no, I use Nix
<nikivi> so things like this are kind of 'wasted' effort? https://github.com/getantibody/antibody
<johnw> i'm not qualified to judge
<johnw> i only use two plugins
<johnw> well, maybe a few more
<johnw> yes :)
<nikivi> I see in your config you dont have nix-darwin there
<nikivi> but you have home-manager
<johnw> i do
<johnw> and nix-darwin
<nikivi> oh it was just named darwin, my bad
<johnw> it's just called "darwin" I think
<nikivi> why home-manager?
<johnw> to manage ~ files
<nikivi> what do you mean by manage?
<johnw> create/maintain
<nikivi> aren't they created adhoc by programs
<johnw> the same way you use nix-darwin for other parts of your system
<johnw> sometimes, sure
<johnw> check out my config/home.nix file
<nikivi> that's really cool, thanks
<nikivi> I always wondered how people had the will to align their = definitions so nicely
<johnw> Emacs makes it easy
<johnw> one key
<nikivi> where do you hold things like aliases, zsh functions?
<nikivi> this feels a bit painful to write
<nikivi> or rather more painful than simple alias .. = ..
<johnw> well, the only downside to your file is that it entirely depends on the PATH
<johnw> whereas mine done with home-manager uses absolute paths into the nix store
<johnw> meaning it will continue to work even if I use an older generation
<johnw> in general, the Nix philosophy is to never rely on PATH
<johnw> not for things you install with Nix
<johnw> (and I'm installing my zsh aliases with Nix, so...)
<nikivi> oh I see
<nikivi> but I can potentially use home-manager and 'import' this alias.zsh file?
<nikivi> and have it work?
<nikivi> or I have a better example
<johnw> yeah, modulo syntax modifications
<johnw> you CAN rely on PATH
<nikivi> I very heavily use Karabiner tool on mac and here is my config file for it https://github.com/nikitavoloboev/dotfiles/blob/master/karabiner/private.xml
<nikivi> its 13k lines long
<nikivi> you can't nixify that
<johnw> no
<johnw> files like that I'd just put into .config/Karabiner and call it a day
<johnw> if Karabiner doesn't use the XDG standard, then I'd tell home-manager to install a symlink into .config
<johnw> and if even that didn't work, I'd add a rule to copy the contents out into ~
<nikivi> you don't have dotfiles I see on your profile
<johnw> I have examples of all of these things in my home.nix
<nikivi> Where can someone see your ~/.config?
<johnw> my .config isn't on GitHub
<johnw> it contains sensitive data and I don't want to think about what to include and what to exclude
<nikivi> yeah makes sense
<nikivi> are you using hnix instead of nix already? :)
<johnw> I use it for debugging
<johnw> but it's not production ready yet
<johnw> it still has a ways to go
<johnw> I'm now using Nix to manage 20 different travis builds
<nikivi> yeah someone at #nixos mentioned nix makes it super easy
<johnw> it really does
<johnw> and so trivial to make it build exactly how you want, with very convenient version pinning and customization
<nikivi> have you tried to use nixOS as desktop system?
<johnw> no, not yet
<nikivi> What keeps you on mac?
<johnw> my desktop experience has been mac-only for 15 years now
<johnw> I own a lot of nice Mac software
<nikivi> ^
<johnw> I may have even seen this page before :)
<johnw> I love Keyboard Maestro too
<nikivi> yeah there is nothing like it on linux
<nikivi> the GUI things on linux are not that great I think
<johnw> I much prefer password-store to 1Password now though
<johnw> the Firefox and Emacs integrations are amazing
<nikivi> I've seen password-store before. But doesn't it not have the nice 1Password search overlay you have?
<nikivi> so you can search through passwords through any app
<nikivi> and not have to go to terminal for that
<johnw> i use Emacs as my front end
<johnw> so far, I've found it to be MORE convenient
<nikivi> oh yeah I read about emacs
<johnw> especailly since it uses GnuPG for encryption
<nikivi> to really get emacs you have to use it for everything it seems
<johnw> and I use a YubiKey to hold my GnuPG key
<johnw> so I never have to reenter my password
<nikivi> I kind of like the philosophy of use the right tool for the job
<johnw> yeah
<johnw> Emacs is amazing
<nikivi> So for example I use a task manager app that only does task management (2Do)
<johnw> have you seen CCMenu?
<nikivi> in emacs you can use orgmode and all
<nikivi> I have not, looks interesting
<nikivi> looks like something you can make with https://github.com/matryer/bitbar
<johnw> very nice way to keep abreast of Travis status
<johnw> yeah, I think bitbar could be made to do it
<johnw> bed time for me, bye nikivi!
<nikivi> good night
sellout-1 has quit [Ping timeout: 276 seconds]
sellout- has joined #nix-darwin
philr has quit [Ping timeout: 260 seconds]
jtojnar has quit [Read error: Connection reset by peer]
jtojnar has joined #nix-darwin
jtojnar has quit [Read error: Connection reset by peer]
jtojnar has joined #nix-darwin
gridaphobe has quit [Remote host closed the connection]
dmj` has quit [Remote host closed the connection]
mpickering has quit [Remote host closed the connection]
mpickering has joined #nix-darwin
gridaphobe has joined #nix-darwin
dmj` has joined #nix-darwin
jtojnar has quit [Remote host closed the connection]
jtojnar has joined #nix-darwin
<nikivi> can someone please help solve this issue
<nikivi> SSL: can't load CA certificate file /bin/curl-ca-bundle.crt
<nikivi> It happens whenever I try to clone anything
<nikivi> I think it might have to do with homebrew
<nikivi> I googled everything around it and I have no idea what to do
<nikivi> tried to install the other Git (full one I think) and got a build error
<LnL> gitAndTools is a set of a whole bunch of packages
<LnL> you probably just want nix-env -iA nixpkgs.git or nix-env -iA nixpkgs.gitMinimal
<johnw> LnL: ping
<johnw> LnL: in my darwin config, where I have nixpkgs.overlays, how do I reference the pkgs which results after all the overlays have been applied?
<johnw> is it just pkgs?
<johnw> the argument that the function receives?
<LnL> the module argument? that should be the final set
<johnw> i'm just trying to debug something odd
<johnw> might be my problem though
<johnw> ok, it's not nix-darwin, n/m
<johnw> grr.. another case of developPackage making a derivation that's not consistent with other ways of making derivations
<johnw> or maybe it's just my default.nix
yastero has quit [Ping timeout: 255 seconds]
yastero has joined #nix-darwin
<johnw> i wonder if nix-darwin could make use of them
<johnw> oh, hehe, I guess you have :) https://github.com/NixOS/nixpkgs/pull/40724/files