diff --git a/src/functions/base.rs b/src/functions/base.rs index 70a6fd4..6b384a0 100755 --- a/src/functions/base.rs +++ b/src/functions/base.rs @@ -24,6 +24,7 @@ pub fn install_base_packages(kernel: String) { // Base Arch "base", kernel_to_install, + format!("{kernel_to_install}-headers").as_str(), "linux-firmware", "systemd-sysvcompat", "networkmanager", diff --git a/src/functions/desktops.rs b/src/functions/desktops.rs index d36f9c0..d81bb3f 100644 --- a/src/functions/desktops.rs +++ b/src/functions/desktops.rs @@ -156,10 +156,7 @@ fn install_sway() { "polkit-gnome", ]); files_eval( - files::append_file( - "/mnt/etc/sway/config", - "exec --no-startup-id dex -a\n", - ), + files::append_file("/mnt/etc/sway/config", "exec --no-startup-id dex -a\n"), "Add dex to sway config for autostart", ); files_eval(