mirror of
https://gitlab.com/ahoneybun/nyxi-installer.git
synced 2025-05-13 03:23:01 -06:00
partitioning is working
This commit is contained in:
parent
ea97e91116
commit
2679312b9f
2 changed files with 5 additions and 6 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue