From 36bea2b498a16f3e226307398a62a89f6a8d7ebd Mon Sep 17 00:00:00 2001 From: Guanran Wang Date: Thu, 9 Nov 2023 12:06:36 +0800 Subject: [PATCH] nixos: move plymouth to ./presets/desktop --- nixos/boot/default.nix | 1 - nixos/boot/plymouth.nix | 3 --- nixos/presets/desktop.nix | 1 + nixos/presets/server.nix | 1 - 4 files changed, 1 insertion(+), 5 deletions(-) delete mode 100644 nixos/boot/plymouth.nix diff --git a/nixos/boot/default.nix b/nixos/boot/default.nix index 8f8859a..f6ae6be 100644 --- a/nixos/boot/default.nix +++ b/nixos/boot/default.nix @@ -1,7 +1,6 @@ {...}: { imports = [ ./boot.nix - ./plymouth.nix ./sysctl.nix ]; } diff --git a/nixos/boot/plymouth.nix b/nixos/boot/plymouth.nix deleted file mode 100644 index ce0bde3..0000000 --- a/nixos/boot/plymouth.nix +++ /dev/null @@ -1,3 +0,0 @@ -{lib, ...}: { - boot.plymouth.enable = lib.mkDefault true; # mkDefault for headless devices, check out server.nix -} diff --git a/nixos/presets/desktop.nix b/nixos/presets/desktop.nix index 198243b..fb1024c 100644 --- a/nixos/presets/desktop.nix +++ b/nixos/presets/desktop.nix @@ -5,4 +5,5 @@ ]; boot.kernelPackages = pkgs.linuxPackages_zen; + boot.plymouth.enable = true; } diff --git a/nixos/presets/server.nix b/nixos/presets/server.nix index 4349936..bf2b052 100755 --- a/nixos/presets/server.nix +++ b/nixos/presets/server.nix @@ -4,5 +4,4 @@ imports = [ ./core.nix ]; - boot.plymouth.enable = false; }