From 8555f88f37775cf81cbd5ce69b89513cfc294914 Mon Sep 17 00:00:00 2001 From: axtloss Date: Wed, 8 Mar 2023 17:44:16 +0000 Subject: [PATCH 1/2] Preinstall kernel headers --- src/functions/base.rs | 1 + 1 file changed, 1 insertion(+) 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", From 4fd52c1ad46c6782d8ccdecaf7bd47a0e417b81b Mon Sep 17 00:00:00 2001 From: axtlos Date: Wed, 8 Mar 2023 19:10:03 +0100 Subject: [PATCH 2/2] Run cargo fmt --- src/functions/desktops.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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(