From afbd73c2a808b9e314f41310d9a975f4878821db Mon Sep 17 00:00:00 2001 From: Eshan Roy Date: Thu, 28 Nov 2024 09:12:00 +0530 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=80=20feat(=5Fconfig):=20add=20default?= =?UTF-8?q?s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../defaults/config.toml | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 usr/share/snigdhaos-kernel-switcher/defaults/config.toml diff --git a/usr/share/snigdhaos-kernel-switcher/defaults/config.toml b/usr/share/snigdhaos-kernel-switcher/defaults/config.toml new file mode 100644 index 0000000..91559af --- /dev/null +++ b/usr/share/snigdhaos-kernel-switcher/defaults/config.toml @@ -0,0 +1,37 @@ +title = "Snigdha OS Kernel Switcher Settings" + +[kernels] + +# Kernels which are sourced from https://archive.archlinux.org +official = [ + { name = "linux", description = "The Linux kernel and modules (Stable)", headers = "linux-headers" }, + { name = "linux-lts", description = "The LTS Linux kernel and modules (Longterm)", headers = "linux-lts-headers" }, + { name = "linux-zen", description = "The Linux ZEN kernel and modules (Zen)", headers = "linux-zen-headers" }, + { name = "linux-hardened", description = "The Security-Hardened Linux kernel and modules (Hardened)", headers = "linux-hardened-headers" }, + { name = "linux-rt", description = "The Linux RT kernel and modules (Realtime)", headers = "linux-rt-headers" }, + { name = "linux-rt-lts", description = "The Linux RT LTS kernel and modules (Realtime Longterm)", headers = "linux-rt-lts-headers" }, +] + +# Kernels which are sourced from unofficial repositories, these won't work if you haven't updated your pacman configuration +# https://wiki.archlinux.org/title/Unofficial_user_repositories +community = [ + { name = "linux-xanmod", description = "The Linux kernel and modules with Xanmod patches", headers = "linux-xanmod-headers", repository = "chaotic-aur" }, + { name = "linux-xanmod-lts", description = "The Linux kernel and modules with Xanmod patches", headers = "linux-xanmod-lts-headers", repository = "chaotic-aur" }, + { name = "linux-amd", description = "Linux kernel aimed at the ZNVER4/MZEN4 AMD Ryzen CPU based hardware", headers = "linux-amd-headers", repository = "chaotic-aur" }, + { name = "linux-cachyos", description = "The Linux EEVDF-BORE scheduler Kernel by CachyOS with other patches and improvements kernel and modules", headers = "linux-cachyos-headers", repository = "chaotic-aur" }, + { name = "linux-ck", description = "The Linux kernel and modules with ck's hrtimer patches", headers = "linux-ck-headers", repository = "repo-ck" }, + { name = "linux-clear", description = "The Clear Linux kernel and modules", headers = "linux-clear-headers", repository = "chaotic-aur" }, + { name = "linux-lqx", description = "The Linux Liquorix kernel and modules", headers = "linux-lqx-headers", repository = "chaotic-aur" }, + { name = "linux-nitrous", description = "Modified Linux kernel optimized for Skylake and newer, compiled using clang", headers = "linux-nitrous-headers", repository = "chaotic-aur" }, +] + +[logging] +# Logging is either info or debug +loglevel = "info" + +# Custom bootloader example +# Only systemd-boot or grub are valid names +# When using grub also set grub_config +#[bootloader] +#name = "grub" +#grub_config = "/boot/grub/grub.cfg" \ No newline at end of file