partitioning is working

This commit is contained in:
Aaron Honeycutt 2025-04-09 21:13:42 -06:00
parent ea97e91116
commit 2679312b9f
2 changed files with 5 additions and 6 deletions

View file

@ -12,7 +12,8 @@
llvmPackages.libclang
llvmPackages.clang
# System
# Systemi
e2fsprogs
openssl
pkg-config
util-linux

View file

@ -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();