From 5ebc43b05aacfc7f18a961de26a86e9c6162141a Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Sun, 23 Jun 2024 09:52:18 +0200 Subject: [PATCH] Auto-mount btrfs root on voyager --- hosts/voyager/hardware-configuration.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hosts/voyager/hardware-configuration.nix b/hosts/voyager/hardware-configuration.nix index 9a3901a..9edebd4 100644 --- a/hosts/voyager/hardware-configuration.nix +++ b/hosts/voyager/hardware-configuration.nix @@ -46,6 +46,12 @@ options = [ "fmask=0022" "dmask=0022" ]; }; + fileSystems."/.btrfs" = + { device = "/dev/disk/by-label/NIXOS-FS"; + fsType = "btrfs"; + options = [ "noatime" "compress=zstd:3" ]; + }; + swapDevices = [ { device = "/dev/disk/by-label/SWAP"; } ];