Skip to content

Instantly share code, notes, and snippets.

[nixos@nixos:/mnt/etc/nixos]$ lsblk -f
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS
loop0 squashfs 4.0 0 100% /nix/.ro-store
sda
├─sda1 exfat 1.0 Ventoy 0F91-EAED
│ └─ventoy iso9660 Joliet Extension nixos-plasma5-22.11-x86_64 1980-01-01-00-00-00-00 0 100% /iso
└─sda2 vfat FAT16 VTOYEFI B228-8EFB
nvme0n1
├─nvme0n1p1 vfat FAT32 9A3
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running ‘nixos-help’).
{ config, pkgs, ... }:
{
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
nvme1n1
├─nvme1n1p1 vfat FAT32 BOOT CB7D-DEAA 470.2M 8% /mnt/boot
└─nvme1n1p2 crypto_LUKS 2 nix f3ef0bbf-5351-462b-8b7b-690f2a95ea65
└─enc LVM2_member LVM2 001 NJE64b-JUs2-R7V5-g3Y4-52Re-shmh-rfgHkw
├─lvm-swap swap 1 swap fb5a377c-014f-4030-bd3e-f3026c19ffd6
└─lvm-root btrfs nixenc 524dee7c-d1f0-4af6-889b-95e2721ebc9a 432.2G 1% /mnt/var/log
/mnt/persist