Enable bluetooth & cups, preinstall xdg-user-dirs

axtloss/rework-partitioning
axtlos 2 years ago
parent 74623ffc21
commit e1e8ae5d44

@ -67,6 +67,23 @@ pub fn install_base_packages(kernel: String) {
"ttf-liberation",
]);
files::copy_file("/etc/pacman.conf", "/mnt/etc/pacman.conf");
exec_eval(
exec_chroot(
"systemctl",
vec![String::from("enable"), String::from("bluetooth")],
),
"Enable bluetooth",
);
exec_eval(
exec_chroot(
"systemctl",
vec![String::from("enable"), String::from("cups")]
),
"Enable CUPS"
);
}
pub fn genfstab() {

@ -44,6 +44,7 @@ fn install_bspwm() {
"lightdm",
"lightdm-gtk-greeter",
"lightdm-gtk-greeter-settings",
"xdg-user-dirs"
]);
files_eval(
files::append_file(
@ -65,6 +66,7 @@ fn install_awesome() {
"lightdm",
"lightdm-gtk-greeter",
"lightdm-gtk-greeter-settings",
"xdg-user-dirs"
]);
files_eval(
files::append_file(
@ -86,6 +88,7 @@ fn install_herbstluftwm() {
"lightdm",
"lightdm-gtk-greeter",
"lightdm-gtk-greeter-settings",
"xdg-user-dirs"
]);
files_eval(
files::append_file(
@ -108,6 +111,7 @@ fn install_i3() {
"lightdm",
"lightdm-gtk-greeter",
"lightdm-gtk-greeter-settings",
"xdg-user-dirs"
]);
files_eval(
files::append_file(
@ -134,6 +138,7 @@ fn install_sway() {
"pipewire-jack",
"wireplumber",
"sddm",
"xdg-user-dirs"
]);
enable_dm("sddm");
}

Loading…
Cancel
Save