From 4c067c293f56b5788e92a4048ed9cf109ba2b1d5 Mon Sep 17 00:00:00 2001 From: Patrick Date: Sun, 21 Jul 2024 21:48:47 +0200 Subject: [PATCH] fix: nvidia kernelparam breaks boot --- hosts/desktopnix/default.nix | 1 + users/common/graphical/wayland/swaync/swaync.css | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/hosts/desktopnix/default.nix b/hosts/desktopnix/default.nix index a973eaf..ff642d1 100644 --- a/hosts/desktopnix/default.nix +++ b/hosts/desktopnix/default.nix @@ -53,6 +53,7 @@ boot.binfmt.emulatedSystems = ["aarch64-linux" "riscv64-linux"]; nix.settings.system-features = ["kvm" "nixos-test"]; + boot.kernelParams = lib.mkForce ["rd.luks.options=timeout=0" "rootflags=x-systemd.device-timeout=0" "nohibernate" "root=fstab" "loglevel=4" "nvidia-drm.modeset=1" "nvidia.NVreg_PreserveVideoMemoryAllocations=1"]; services.netbird.enable = true; # Do not cleanup nix store to prevent having to rebuild packages onca a month diff --git a/users/common/graphical/wayland/swaync/swaync.css b/users/common/graphical/wayland/swaync/swaync.css index 45c3a99..b2fb729 100644 --- a/users/common/graphical/wayland/swaync/swaync.css +++ b/users/common/graphical/wayland/swaync/swaync.css @@ -254,7 +254,7 @@ .notification-group .notification-group-headers .notification-group-header { color: @text-color; - font-size: 1.5rem; + font-size: 2rem; } .notification-group .notification-group-buttons { @@ -329,7 +329,7 @@ .widget-title { color: @text-color; margin: 8px; - font-size: 1.5rem; + font-size: 0.5rem; } .widget-title > button { @@ -350,7 +350,7 @@ .widget-dnd { color: @text-color; margin: 8px; - font-size: 1.5rem; + font-size: 0.5rem; padding: 8px 16px; }