From 153c408c871e858c466b30ccde9e88945dfe0b77 Mon Sep 17 00:00:00 2001 From: Philip Mueller Date: Thu, 22 Jun 2023 09:24:36 +0200 Subject: [PATCH] [presets] try to make base adjustable --- presets/base.toml | 1 + presets/xfce-manjaro/00-base.toml | 1 + presets/xfce/00-base.toml | 1 + src/constants.rs | 12 +----------- 4 files changed, 4 insertions(+), 11 deletions(-) create mode 100644 presets/base.toml create mode 120000 presets/xfce-manjaro/00-base.toml create mode 120000 presets/xfce/00-base.toml diff --git a/presets/base.toml b/presets/base.toml new file mode 100644 index 0000000..529ca9a --- /dev/null +++ b/presets/base.toml @@ -0,0 +1 @@ +packages = [ "linux61 ", "linux61-broadcom-wl ", "linux-firmware ", "grub ", "efibootmgr ", "intel-ucode ", "amd-ucode ", "networkmanager"] diff --git a/presets/xfce-manjaro/00-base.toml b/presets/xfce-manjaro/00-base.toml new file mode 120000 index 0000000..6bf88c6 --- /dev/null +++ b/presets/xfce-manjaro/00-base.toml @@ -0,0 +1 @@ +../base.toml \ No newline at end of file diff --git a/presets/xfce/00-base.toml b/presets/xfce/00-base.toml new file mode 120000 index 0000000..6bf88c6 --- /dev/null +++ b/presets/xfce/00-base.toml @@ -0,0 +1 @@ +../base.toml \ No newline at end of file diff --git a/src/constants.rs b/src/constants.rs index e8a587a..f7d4c55 100644 --- a/src/constants.rs +++ b/src/constants.rs @@ -7,16 +7,6 @@ Storage=volatile SystemMaxUse=16M "; -pub const BASE_PACKAGES: [&str; 9] = [ - "base", - "linux61", - "linux61-broadcom-wl", - "linux-firmware", - "grub", - "efibootmgr", - "intel-ucode", - "amd-ucode", - "networkmanager", -]; +pub const BASE_PACKAGES: [&str; 9] = ["base"]; pub const AUR_DEPENDENCIES: [&str; 3] = ["base-devel", "git", "sudo"];