complete restructure

This commit is contained in:
Melvin Ragusa
2026-02-04 22:53:00 +01:00
parent d516c95d65
commit c4cd70fd20
43 changed files with 985 additions and 1229 deletions

45
modules/core/boot.nix Normal file
View File

@@ -0,0 +1,45 @@
# modules/core/boot.nix
# Bootloader, kernel, and boot-time configuration
{
config,
pkgs,
lib,
...
}:
{
boot.loader.systemd-boot.enable = false;
boot.loader.limine = {
enable = true;
style.wallpapers = [ ../../wallpaper/nix.png ];
maxGenerations = 5;
};
boot.loader.limine.secureBoot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.kernelPackages = pkgs.cachyosKernels.linuxPackages-cachyos-latest-x86_64-v3;
boot.kernelParams = [
"amd_pstate=active"
"amdgpu.ppfeaturemask=0xffffffff"
"quiet"
"splash"
"loglevel=3"
"rd.udev.log_level=3"
"systemd.show_status=auto"
"vt.global_cursor_default=0"
];
boot.consoleLogLevel = 3;
boot.resumeDevice = "/dev/mapper/cryptswap";
boot.initrd.systemd.enable = true;
boot.plymouth = {
enable = true;
theme = "nixos-bgrt";
themePackages = [ pkgs.nixos-bgrt-plymouth ];
};
services.scx.enable = true;
services.scx.scheduler = "scx_lavd";
}