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