From 2679312b9f9cbce110d4179e8c4d90eb88f0c9c9 Mon Sep 17 00:00:00 2001 From: Aaron Honeycutt Date: Wed, 9 Apr 2025 21:13:42 -0600 Subject: [PATCH] partitioning is working --- shell.nix | 3 ++- src/main.rs | 8 +++----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/shell.nix b/shell.nix index f3174fb..389b07c 100644 --- a/shell.nix +++ b/shell.nix @@ -12,7 +12,8 @@ llvmPackages.libclang llvmPackages.clang - # System + # Systemi + e2fsprogs openssl pkg-config util-linux diff --git a/src/main.rs b/src/main.rs index a00d85f..9f4970d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -139,12 +139,10 @@ fn main() { .output() .expect("Failed to partition boot partition as FAT32"); - let root_partition = Command::new("mkfs.btrfs") - .arg("-L") - .arg("root") - .arg("/dev/sda1") + let root_partition = Command::new("mkfs.ext4") + .arg("/dev/sda2") .output() - .expect("Failed to partition root partition as BTRFS"); + .expect("Failed to partition root partition as ext4"); // Download nix files grab_flake();