Use plymouth

This commit is contained in:
Invariantspace 2024-01-03 21:11:10 +08:00
parent eb0580ddb6
commit 2fc24b302d
3 changed files with 58 additions and 46 deletions

View file

@ -6,21 +6,30 @@
{
# Configure boot loader
boot.loader = {
efi.canTouchEfiVariables = true;
grub = let yorha = pkgs.yorha-grub-theme; in {
enable = true;
device = "nodev";
efiSupport = true;
splashImage = "${yorha}/background.png";
theme = yorha;
# Configure boot
boot = {
initrd.systemd.enable = true;
loader = {
efi.canTouchEfiVariables = true;
grub = let yorha = pkgs.yorha-grub-theme; in {
enable = true;
device = "nodev";
efiSupport = true;
splashImage = "${yorha}/background.png";
theme = yorha;
};
timeout = 3;
};
plymouth = {
enable = true;
extraConfig = "DeviceScale=1";
theme = "target_2";
themePackages = [ pkgs.adi1090x-plymouth-themes ];
};
timeout = 3;
};
# Set your time zone.
time.timeZone = "America/Los_Angeles";
time.timeZone = "Asia/Shanghai";
# Enable bluetooth
hardware.bluetooth.enable = true;

View file

@ -89,10 +89,13 @@ let usr = config.constants.userName; in {
autoLogin.user = usr;
sddm = {
enable = true;
autoLogin.relogin = true;
wayland.enable = true;
};
};
desktopManager.plasma5.enable = true;
desktopManager.plasma5 = {
enable = true;
useQtScaling = true;
};
videoDrivers = [ "amdgpu" ];
};
};