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.libclang
llvmPackages.clang llvmPackages.clang
# System # Systemi
e2fsprogs
openssl openssl
pkg-config pkg-config
util-linux util-linux

View file

@ -139,12 +139,10 @@ fn main() {
.output() .output()
.expect("Failed to partition boot partition as FAT32"); .expect("Failed to partition boot partition as FAT32");
let root_partition = Command::new("mkfs.btrfs") let root_partition = Command::new("mkfs.ext4")
.arg("-L") .arg("/dev/sda2")
.arg("root")
.arg("/dev/sda1")
.output() .output()
.expect("Failed to partition root partition as BTRFS"); .expect("Failed to partition root partition as ext4");
// Download nix files // Download nix files
grab_flake(); grab_flake();