nixos-rebuild --use-remote-sudo --flakes . switch
nix flake update --commit-lock-file
My 2020 Slimbook Pro X AMD with blank keycaps
- Usage: 2020 -
- CPU: Ryzen 7 4800H
- RAM: 16 GB @ 3200 GHz
- SSD: Samsung 970 EVO Plus 1 TB
- Keymap: bépo
- WM: river
- Editor: emacs
- Usage: 2018 -
- CPU: Ryzen 7 1700 @ 4 Ghz
- RAM: 48 GB @ 3000 MHz
- SSD: Samsung 840 PRO Series 256 GB
- Disks:
- 2 * 4 TB on ZFS in mirror
- 1.5 TB + 2 TB on ZFS
- 512 GB 2.5’ 5400 RPM for W10 VM
Here is what flake.nix
looks like:
{
description = "My NixOS secrets";
outputs = { self, nixpkgs }: {
secrets = with nixpkgs.lib; foldl (r: f: recursiveUpdate r (import f)) {} [
/* paths to attribute sets */
];
};
}