From db39075c8e64a0571fe9527615612d4acc272c89 Mon Sep 17 00:00:00 2001 From: Kalle Struik Date: Tue, 4 Feb 2025 04:17:27 +0100 Subject: [PATCH] Also resize the filesystem --- systems/template/configuration.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/systems/template/configuration.nix b/systems/template/configuration.nix index d0cb916..6aafeb5 100644 --- a/systems/template/configuration.nix +++ b/systems/template/configuration.nix @@ -75,6 +75,9 @@ - NoCloud growpart: devices: ['/dev/sda2'] + # Resize the filesystem along with the partition + runcmd: + - btrfs filesystem resize max /nix ''; };