what is this nix religion I keep hearing about
Nix is a form of computing that's simultaneously 20 years in the past and 20 years in the future. I love it. Honest answer though, it's a deterministic way of building up a computer/environment. Think pip/uv/packages.lock but for everything.
Journaling using Nix, Vim and coreutils
11–20 of 65 posts
Re: Journaling using Nix, Vim and coreutils
#12here I am tangenting into wtf tangled.sh is, maybe that's the entire point of this submission.
Re: Journaling using Nix, Vim and coreutils
#13I don't see what nix is doing for you? There's vim, absolutely, coreutils (though I don't immediately see anything GNU-specific), and a tiny wrapper script that happens to be written in flake.nix but could trivially be factored out. I don't see anything that I wouldn't expect to run on, say, OpenBSD if you installed vim. (That said, yes, it's a nice journaling system)
This is a pretty poor example for a few reasons, but the idea is that anyone get can a shell with the tool fully installed along with all its dependencies, with a single command: nix shell 'git+ https://tangled.sh/@oppi.li/journal ' It's massive overkill for a shell alias, but for a more complex project it can be very nice.
Re: Journaling using Nix, Vim and coreutils
#14Earlier quoted context omitted.
Nix is a form of computing that's simultaneously 20 years in the past and 20 years in the future. I love it. Honest answer though, it's a deterministic way of building up a computer/environment. Think pip/uv/packages.lock but for everything.
open to the select few who are able to ignore what the official documentation says and spend some on the (admittedly friendly) irc channel to learn how it REALLY works.
Re: Journaling using Nix, Vim and coreutils
#15Earlier quoted context omitted.
open to the select few who are able to ignore what the official documentation says and spend some on the (admittedly friendly) irc channel to learn how it REALLY works.
I've only dabbled, but what have you learned in the irc that isn't in the docs?
Re: Journaling using Nix, Vim and coreutils
#16Nix always felt like an OS on the blockchain. It's fine if you value verifiability above everything, but becomes very burdensome if you find yourself tweaking your dev environment often. Still, I think it probably teaches good discipline.
Re: Journaling using Nix, Vim and coreutils
#17I don't see what nix is doing for you? There's vim, absolutely, coreutils (though I don't immediately see anything GNU-specific), and a tiny wrapper script that happens to be written in flake.nix but could trivially be factored out. I don't see anything that I wouldn't expect to run on, say, OpenBSD if you installed vim. (That said, yes, it's a nice journaling system)
You could then just open nvim in the `nix develop` environment (or even use something like direnv to activate it when you cd in) and have a minimal journaling environment
Re: Journaling using Nix, Vim and coreutils
#18Nix always felt like an OS on the blockchain. It's fine if you value verifiability above everything, but becomes very burdensome if you find yourself tweaking your dev environment often. Still, I think it probably teaches good discipline.
I’ve made the compromise of using nix package manager on a normal Linux distro. Gives most of the features I care about, with basically no downsides.
Re: Journaling using Nix, Vim and coreutils
#19 $ ncal -w3
July 2025 August 2025 September 2025
Mo 7 14 21 28 4 11 18 25 1 8 15 22 29
Tu 1 8 15 22 29 5 12 19 26 2 9 16 23 30
We 2 9 16 23 30 6 13 20 27 3 10 17 24
Th 3 10 17 24 31 7 14 21 28 4 11 18 25
Fr 4 11 18 25 1 8 15 22 29 5 12 19 26
Sa 5 12 19 26 2 9 16 23 30 6 13 20 27
Su 6 13 20 27 3 10 17 24 31 7 14 21 28
27 28 29 30 31 31 32 33 34 35 36 37 38 39 40Re: Journaling using Nix, Vim and coreutils
#20here I am tangenting into wtf tangled.sh is, maybe that's the entire point of this submission.