<patrol02>
I have pkgs.zsh and pkgs.oh-my-zsh in my darwin-configuration.nix. But then I get "The option `programs.zsh.ohMyZsh' does not exist.". Does anyone know how to configure oh-my-zsh?
levdub has joined #nix-darwin
<levdub>
New to nix-darwin. Every time I run a nix command I get a `Nix search path entry '/nix/var/nix/profiles/per-user/root/channels' does not exist, ignoring` . I'm assuming because I ran some command as sudo/root at some point and this path got added somewhere. Where was it actually added? I'd like to remove it.
<patrol02>
I am new to it too, but I saw it just recently. I used to have working `nix`, but when I installed `nix-darwin` it started happening. Somehow I concluded that I had `nix` installed in a single-user mode, and `nix-darwin` probably expected a multi-user one.
<patrol02>
So I re-installed `nix` in a multi-user mode and it stopped happening :)
<levdub>
can you elaborate a bit on reinstalling nix in multi-user mode?
<levdub>
is it enough to remove /nix/ and run ./install-nix --daemon
<patrol02>
Which means just deleting a whole bunch of directories and cleaning up bashrc/zshrc
<patrol02>
at least this is what I've done :) I have no idea if removing `/nix` is enough, it might be
<levdub>
the uninstall steps there are pretty much "remove /nix and a few other files/folders". thanks
<levdub>
doing this now
<levdub>
I'm assuming you had to reinstall nix-darwin as well, yeah?
<patrol02>
yes, I removed `nix-darwin` first, then `nix`, then installed again
<levdub>
Alright, so I screwed that up.
<levdub>
the official way to uninstall nix-darwin is to nix-build the uninstaller, which I can't do, because my new nix installation is borked.
<levdub>
~ nix-shell -p hello
<levdub>
error: unexpected end-of-file
<patrol02>
I can't figure out how to change my shell.... I have `environment.loginShell = pkgs.zsh;` and `users.users.<me>.shell = pkgs.zsh;` and I still get bash
domenkozar[m] has quit [Read error: Connection reset by peer]
nbardiuk has quit [Write error: Connection reset by peer]
thefloweringash has quit [Write error: Connection reset by peer]
thefloweringash has joined #nix-darwin
patrol02 has quit [Ping timeout: 260 seconds]
levdub has quit [Remote host closed the connection]