fix OoOE
This commit is contained in:
parent
067fe4ce5a
commit
db229e2f37
1 changed files with 12 additions and 2 deletions
|
@ -28,6 +28,7 @@ pub mod zram;
|
|||
use crate::{
|
||||
config::InstallConfig,
|
||||
pkg::{self, install_pkgs, pacstrap},
|
||||
print_status,
|
||||
};
|
||||
|
||||
pub fn str_vec(v: Vec<&str>) -> Vec<String> {
|
||||
|
@ -94,6 +95,12 @@ pub fn install(conf: InstallConfig) {
|
|||
crate::config::InstallMode::Base => {}
|
||||
crate::config::InstallMode::Desktop => {
|
||||
install_pkgs(&pkg::DESKTOP_PKG);
|
||||
print_status("Enable SDDM");
|
||||
std::os::unix::fs::symlink(
|
||||
"/usr/lib/systemd/system/sddm.service",
|
||||
"/mnt/etc/systemd/system/display-manager.service",
|
||||
)
|
||||
.unwrap();
|
||||
}
|
||||
crate::config::InstallMode::Server => {
|
||||
install_pkgs(&pkg::SERVER_PKG);
|
||||
|
@ -112,9 +119,12 @@ pub fn install(conf: InstallConfig) {
|
|||
}
|
||||
|
||||
setup_zram();
|
||||
setup_secure_boot();
|
||||
setup_mkinitcpio();
|
||||
setup_secure_boot();
|
||||
|
||||
if conf.general.encryption {
|
||||
setup_tpm_unlock(&conf.drive);
|
||||
}
|
||||
|
||||
println!("{}", "System install complete".paint(Color::Green));
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue