mirror of
https://gitlab.com/ahoneybun/nyxi-installer.git
synced 2025-05-12 02:54:03 -06:00
partitioning is working
This commit is contained in:
parent
ea97e91116
commit
2679312b9f
2 changed files with 5 additions and 6 deletions
|
@ -12,7 +12,8 @@
|
|||
llvmPackages.libclang
|
||||
llvmPackages.clang
|
||||
|
||||
# System
|
||||
# Systemi
|
||||
e2fsprogs
|
||||
openssl
|
||||
pkg-config
|
||||
util-linux
|
||||
|
|
|
@ -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