feat(gui): enable plymouth boot animation
This commit is contained in:
parent
8ae36ad4cd
commit
9c11e58813
2 changed files with 27 additions and 0 deletions
|
@ -4,6 +4,8 @@
|
|||
, ... }: with lib; let
|
||||
cfg = config.faucet.gui;
|
||||
in {
|
||||
imports = [ ./plymouth.nix ];
|
||||
|
||||
options.faucet.gui = {
|
||||
enable = mkEnableOption "various setup required for GUI and support software";
|
||||
type = mkOption {
|
||||
|
@ -31,6 +33,8 @@ in {
|
|||
optional (cfg.type == "amdgpu") "amdgpu";
|
||||
# has to be enabled even when using wayland
|
||||
services.xserver.enable = true;
|
||||
# inhibits default display manager
|
||||
services.xserver.displayManager.startx.enable = mkDefault true;
|
||||
|
||||
hardware.nvidia = mkIf ((cfg.type == "nvidia") || (cfg.type == "prime")) {
|
||||
modesetting.enable = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue