summaryrefslogtreecommitdiff
path: root/os/core
diff options
context:
space:
mode:
Diffstat (limited to 'os/core')
-rw-r--r--os/core/bootloader.nix3
-rw-r--r--os/core/drivers.nix10
2 files changed, 4 insertions, 9 deletions
diff --git a/os/core/bootloader.nix b/os/core/bootloader.nix
index da43050..8ba9406 100644
--- a/os/core/bootloader.nix
+++ b/os/core/bootloader.nix
@@ -13,6 +13,9 @@ in
boot.loader.efi.canTouchEfiVariables = true;
boot.supportedFilesystems = [ "ntfs" ];
boot.kernelParams = [ "quiet" "splash" ];
+ systemd.settings.Manager = {
+ DefaultTimeoutStopSec = "5s";
+ };
}
(lib.mkIf (cfg == "systemd-boot") {
diff --git a/os/core/drivers.nix b/os/core/drivers.nix
index 8c22940..3bb2291 100644
--- a/os/core/drivers.nix
+++ b/os/core/drivers.nix
@@ -34,18 +34,10 @@ in
initrd.enable = true;
overdrive.enable = true;
};
- boot.kernelParams = [ "amdgpu.gpu_recovery=1" ];
+ # boot.kernelParams = [ "amdgpu.gpu_recovery=1" ];
})
(lib.mkIf (cfg.amdgpu.enable && cfg.stability == "unstable") {
- boot.kernelPackages = pkgs.linuxPackages_latest;
- chaotic.mesa-git = {
- enable = true;
- fallbackSpecialisation = false;
- extraPackages = with pkgs; [
- rocmPackages.clr.icd
- ];
- };
})
(lib.mkIf (cfg.amdgpu.enable && cfg.stability == "stable") {