From 77fd1e8d2cb42a384a50adc553110509ce53e6e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Wed, 31 Jul 2024 00:04:07 +0300 Subject: [PATCH] add /boot --- hosts/fra1-b/configuration.nix | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/hosts/fra1-b/configuration.nix b/hosts/fra1-b/configuration.nix index b760ab1..4843b52 100644 --- a/hosts/fra1-b/configuration.nix +++ b/hosts/fra1-b/configuration.nix @@ -18,9 +18,23 @@ in }; }; - fileSystems."/" = { - device = "${disk}-part1"; - fsType = "btrfs"; + fileSystems = { + "/boot" = { + device = "${disk}-part1"; + fsType = "vfat"; + options = [ + "fmask=0022" + "dmask=0022" + ]; + }; + "/" = { + device = "${disk}-part3"; + fsType = "btrfs"; + options = [ + "compress=zstd" + "noatime" + ]; + }; }; swapDevices = [ { device = "${disk}-part2"; } ];