hedgie_ has joined #nix-darwin
hedgie has quit [Ping timeout: 240 seconds]
supersandro2000 has quit [Disconnected by services]
supersandro2000 has joined #nix-darwin
hedgie has joined #nix-darwin
hedgie_ has quit [Ping timeout: 256 seconds]
Ericson2314 has quit [Ping timeout: 244 seconds]
Ericson2314 has joined #nix-darwin
<thefloweringash> wow, ec2 now has mac minis
<abathur> nice
eraserhd has quit [Read error: Connection reset by peer]
eraserhd has joined #nix-darwin
eraserhd2 has joined #nix-darwin
eraserhd has quit [Ping timeout: 240 seconds]
heywoodlh has quit [Ping timeout: 246 seconds]
__monty__ has joined #nix-darwin
<Mic92> Not very cheap so.
<domenkozar[m]> nicee
<domenkozar[m]> ah minimum is 24h
<domenkozar[m]> meh
virus_dave has joined #nix-darwin
<virus_dave> heyas! qq, probably very dumb. I added `tmuxPlugins.resurrect` to my `environment.systemPackages`, but after a `darwin-rebuild switch`, i do not see `share/tmux-plugins/...` at all in `/run/current-system`. Isn't this supposed to be linked there ?
<virus_dave> `/run/current-system/sw/share` only has these directories: bash-completion info locale man zsh
<LnL> yeah, only specific things like binaries are linked by default
<virus_dave> how would I go about getting things like tmux or vim plugins to be linked? Or perhaps a better Q is: What's the normal way to do this on nix-darwin? Is there an working example i could look at ?
<virus_dave> i vaguely recall in my pre-nix-darwin days using something like `pathsToLink = [... "share" ];`
<virus_dave> (in my config.nix, that is)
<LnL> yes that's one option
<LnL> but isn't there a nicer way to wrap tmux with plugins?
kalbasit has joined #nix-darwin
<virus_dave> well i don't know, which is why i'm asking ;P
<LnL> I thought there was a tmux withPlugins thing
<virus_dave> oh hmm, lemme check :thinking_face:
<virus_dave> While I try to figure out a nicer / cleaner way to enable the plugins, how do i configure nix-darwin to also link those additional directories ?
<LnL> the option you mentioned earlier
<LnL> environment.pathsToLink = [ "share/tmux-plugins" ];
<virus_dave> ah - i mentioned that because it didn't seem to work when i tried. Maybe i put it in the wrong spot...
<virus_dave> lemme try again
<virus_dave> ah yup, i'd put it in the wrong spot. Thanks @LnL, i should be able to munge along from here
philr has quit [Ping timeout: 264 seconds]
virus_dave has quit [Quit: virus_dave]
butterthebuddha has joined #nix-darwin
<butterthebuddha> I just reinstalled nix and nix-darwin (as a single-user installation), and I'm getting a "/nix/var/nix/profiles/per-user/<username> is not a symlink" error when running "darwin-rebuild switch"
<clever> butterthebuddha: if you run `ls -l` on it, what is it?
<butterthebuddha> clever: https://pastebin.com/raw/VqkHUY0H
<clever> butterthebuddha: what about $NIX_PROFILE and ~/.nix-profile ?
<butterthebuddha> NIX_PROFILE is empty
<butterthebuddha> ~/.nix-profile is symlinked to /nix/var/nix/profiles/per-user/<username>
<clever> butterthebuddha: ~/.nix-profile shouldnt be pointing to that
<clever> lrwxrwxrwx 1 clever users 45 Oct 11 2015 /home/clever/.nix-profile -> /nix/var/nix/profiles/per-user/clever/profile
<clever> butterthebuddha: it should be pointing to the profile symlink under <username>
<butterthebuddha> clever: I've made that change, hopefully things work now
<butterthebuddha> Oh, darwin-rebuild also prompts me to chown /nix/store everytime I run it
<butterthebuddha> clever: still getting the same error as before
<clever> double-check that the symlink is correct
<butterthebuddha> clever: okay yep, I messed that up
<butterthebuddha> I'm getting a different error now:
<butterthebuddha> error: opening lock file '/nix/store/qd5jz3xypq1zmf92c0dviqwpnc4k49xg-env-manifest.nix.lock': Permission denied
<butterthebuddha> It's trying to install home-manager-path
<clever> if its a multi-user install, nix-daemon must be running as root
<clever> of its a single-user install, your user must own all of /nix
philr has joined #nix-darwin
__monty__ has quit [Quit: leaving]