(edit) bruh i was at btc++ berlin too! And yea you want nixOS in that respect. check out a great example of this in the wild with nix-bitcoin project.
interesting. In a sense, yea if you mean that your OS's config becomes a file you can read, modify, and evolve over time. You configure it once, and you can then take that NixOS config file anywhere to recreate your machine, kind of like checking out a Git commit.
But you can check that config file into Git! So you can actually "save" an operating system config as a Git repo... which is fairly difficult with other OS.