Johan Rong 1 місяць тому
батько
коміт
f0971e2d45

+ 3 - 1
home/features/desktop/hyprland/hypr/modules/misc.lua

@@ -1,6 +1,8 @@
 hl.config({
     misc = {
         force_default_wallpaper = 0,    -- Set to 0 or 1 to disable the anime mascot wallpapers
-        disable_hyprland_logo   = true, -- If true disables the random hyprland logo / anime girl background. :(
+        disable_hyprland_logo = true, -- If true disables the random hyprland logo / anime girl background. :(
+        disable_splash_rendering = true,
+        background_color = 0x0f1417;
     },
 })

+ 29 - 0
nixos/flavors/application/workstation/boot-splash.nix

@@ -0,0 +1,29 @@
+{ pkgs, ... }:
+
+{
+  boot = {
+    plymouth = {
+      enable = true;
+      theme = "bgrt";
+    };
+
+    consoleLogLevel = 0;
+    initrd = {
+      verbose = false;
+      systemd.enable = true;
+    };
+
+    kernelParams = [
+      "quiet"
+      "splash"
+      "boot.shell_on_fail"
+      "loglevel=3"
+      "rd.systemd.show_status=false"
+      "rd.udev.log_level=3"
+      "udev.log_priority=3"
+      "vt.global_cursor_default=0"
+    ];
+
+    loader.timeout = 2;
+  };
+}

+ 4 - 3
nixos/flavors/application/workstation/default.nix

@@ -1,9 +1,10 @@
 { config, pkgs, inputs, ... }:
 
 {
-  #imports = [
-  #  ./inputs.nix
-  #];
+  imports = [
+    ./boot-splash.nix
+    #./inputs.nix
+  ];
 
   environment.systemPackages = with pkgs; [
     lf