From 7a5297a0ddc057c48b28c642a3035a1073b4092e Mon Sep 17 00:00:00 2001 From: Vinzenz Schroeter Date: Tue, 5 Sep 2023 19:24:39 +0200 Subject: [PATCH] mount btrfs root subvol --- vinzenz-pc3.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/vinzenz-pc3.nix b/vinzenz-pc3.nix index 8ab194a..50af822 100644 --- a/vinzenz-pc3.nix +++ b/vinzenz-pc3.nix @@ -42,6 +42,14 @@ options = ["subvol=@games"]; }; + "/mnt/nixos_btrfs_root" = { + # subvolume with id 5 is always the root volume + # this is convenient for managing the flat subvolume hierarchy + device = "/dev/disk/by-uuid/0e9c983a-e733-447e-8181-f41d6670c4b8"; + fsType = "btrfs"; + options = ["subvolid=5"]; + }; + "/boot" = { device = "/dev/disk/by-uuid/AF67-8F16"; fsType = "vfat";