|
|
|
@ -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);
|
|
|
|
|