mirror of
https://gitlab.com/ahoneybun/nyxi-installer.git
synced 2025-05-12 11:04:02 -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.libclang
|
||||||
llvmPackages.clang
|
llvmPackages.clang
|
||||||
|
|
||||||
# System
|
# Systemi
|
||||||
|
e2fsprogs
|
||||||
openssl
|
openssl
|
||||||
pkg-config
|
pkg-config
|
||||||
util-linux
|
util-linux
|
||||||
|
|
|
@ -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();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue