Fix zramd package name and add zramd to config

axtloss/rework-partitioning
axtloss 2 years ago
parent 33298ebf1d
commit 5e6ea97aba

@ -168,7 +168,7 @@ pub fn install_flatpak() {
}
pub fn install_zram() {
install(vec!["zram"]);
install(vec!["zramd"]);
exec_eval(
exec_chroot(
"systemctl",

@ -16,6 +16,7 @@ struct Config {
desktop: String,
timeshift: bool,
flatpak: bool,
zramd: bool,
extra_packages: Vec<String>,
unakite: Unakite,
kernel: String,
@ -135,6 +136,12 @@ pub fn read_config(configpath: PathBuf) {
}
println!();
println!("---------");
log::info!("Enabling zramd : {}", config.zramd);
if config.zramd {
base::install_zram();
}
println!();
println!("---------");
for i in 0..config.users.len() {
log::info!("Creating user : {}", config.users[i].name);
log::info!("Setting use password : {}", config.users[i].password);

Loading…
Cancel
Save