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