This is my personal flake.
My system consists from encrypted btrfs and
Impermanence. System rolls back
to /root-blank volume on each boot but some volumes remain. As snapshots and
backup tool, I use btrbk.
nvme0n1
│
├─ NIXOS # subvolumes
│ ├── /root-blank
│ ├── /root
│ ├── /nix
│ ├── /log
│ ├── /persist
│ ├── /cache
│ └── /snapshots
│
└─ NIXBOOT - 1 GBMy flake includes custom neovim packages configured by
nvf. Those are separated to nvfNix and
nvf. Both are portable and you can use my neovim on other nix-installed
system.
nix run github:sumelan/shirase#nvfnvfNix is minimal and only focus on editting nix files.
Before start nixos-install, you need to install cachix client in nix minimal
iso. Since my flake uses niri-unstable so it produces a building process
without the cachix niri-flake provided.
nix-env -iA cachix -f https://cachix.org/api/v1/installStart using the binary cache.
cachix use niriAdd imports = [ ./cachix.nix ] in /etc/nixos/configuration.nix and run
sudo nixos-rebuild switch.
-
Full Disk Encryption and Impermanence on NixOS His site helps me to configure my flake. Also I rely on many programs he involved with (nh, nvf, flint, and more!)
-
I shamelessly copied many configs from his repo.
-
If you consider using nixos, check on his YouTube channel!