From eacaace2d0383b3a50a0ab216deab2335d1f7ba5 Mon Sep 17 00:00:00 2001 From: serenity-F Date: Thu, 9 Oct 2025 16:45:02 +1000 Subject: [PATCH] updated `core/display.nix` --- core/display.nix | 23 +++++++++++++---------- flake.nix | 5 +++++ 2 files changed, 18 insertions(+), 10 deletions(-) diff --git a/core/display.nix b/core/display.nix index 2838efb..4b7f75f 100755 --- a/core/display.nix +++ b/core/display.nix @@ -1,4 +1,4 @@ -{ inputs, pkgs, label, version, lib, niri, ... }: +{ inputs, nixpkgs, pkgs, label, version, lib, niri, ... }: let sygil-plymouth = pkgs.stdenv.mkDerivation rec { @@ -34,7 +34,7 @@ in { initrd = { verbose = false; #systemd = { - #enable = true; + #enable = true; #}; }; kernelParams = @@ -64,18 +64,21 @@ in { plymouth = { # enables plymouth boot animations enable = true; extraConfig = "ShowDelay=0"; - theme = "sygil"; - themePackages = [ sygil-plymouth ]; + theme = "mac-style"; + themePackages = [ pkgs.mac-style-plymouth ]; #theme = "circle"; - #themePackages = with pkgs; - #[ - #(adi1090x-plymouth-themes.override { - #selected_themes = [ "circle" ]; - #}) - #]; + #themePackages = with pkgs; + #[ + #(adi1090x-plymouth-themes.override { + #selected_themes = [ "circle" ]; + #}) + #]; }; }; + pkgs = import nixpkgs { + overlays = [ inputs.mac-style-plymouth.overlays.default ]; + }; ## Display related options xdg.mime.enable = true; # may be unneeded here as already declared in `home/desktop/xdg-mime.nix` diff --git a/flake.nix b/flake.nix index 4ee1c10..4623984 100755 --- a/flake.nix +++ b/flake.nix @@ -121,6 +121,11 @@ inputs.nixpkgs.follows = "nixpkgs"; }; + mac-style-plymouth = { + url = "github:SergioRibera/s4rchiso-plymouth-theme"; + inputs.nixpkgs.follows = "nixpkgs"; + }; + }; outputs = { self, nixpkgs, disko, sops-nix, musnix, nixos-generators, niri,