Use plymouth
This commit is contained in:
parent
eb0580ddb6
commit
2fc24b302d
3 changed files with 58 additions and 46 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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" ];
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue