From 26fc0d71d80c14d01c2fa613c195ebfe1efd8f65 Mon Sep 17 00:00:00 2001 From: chn Date: Sat, 15 Feb 2025 12:01:47 +0800 Subject: [PATCH] modules.system: add plymouth theme --- flake.lock | 17 +++++++++++++++++ flake.nix | 1 + modules/system/default.nix | 6 ++++++ 3 files changed, 24 insertions(+) diff --git a/flake.lock b/flake.lock index 03f70183..8bd9ab21 100644 --- a/flake.lock +++ b/flake.lock @@ -655,6 +655,22 @@ "type": "github" } }, + "mac-style": { + "flake": false, + "locked": { + "lastModified": 1717900224, + "narHash": "sha256-tYB4fJ87UnYczaW8/w32cBzbwCw1+IDHp8BnHSyqNNg=", + "owner": "SergioRibera", + "repo": "s4rchiso-plymouth-theme", + "rev": "856bf3b7d239f995e4e9dde8458b9823cf0e96e4", + "type": "github" + }, + "original": { + "owner": "SergioRibera", + "repo": "s4rchiso-plymouth-theme", + "type": "github" + } + }, "matplotplusplus": { "flake": false, "locked": { @@ -1239,6 +1255,7 @@ "impermanence": "impermanence", "lepton": "lepton", "lmod": "lmod", + "mac-style": "mac-style", "matplotplusplus": "matplotplusplus", "misskey": "misskey", "mumax": "mumax", diff --git a/flake.nix b/flake.nix index 20603891..e53f008d 100644 --- a/flake.nix +++ b/flake.nix @@ -71,6 +71,7 @@ stickerpicker = { url = "github:maunium/stickerpicker"; flake = false; }; fancy-motd = { url = "github:CHN-beta/fancy-motd"; flake = false; }; octodns-cloudflare = { url = "github:octodns/octodns-cloudflare"; flake = false; }; + mac-style = { url = "github:SergioRibera/s4rchiso-plymouth-theme"; flake = false; }; }; outputs = inputs: let localLib = import ./flake/lib.nix inputs.nixpkgs.lib; in diff --git a/modules/system/default.nix b/modules/system/default.nix index a74b100b..1a0db816 100644 --- a/modules/system/default.nix +++ b/modules/system/default.nix @@ -16,6 +16,12 @@ inputs: { supportedFilesystems = [ "ntfs" "nfs" "nfsv4" ]; # consoleLogLevel = 7; + plymouth = + { + enable = true; + theme = "mac-style"; + themePackages = [(inputs.pkgs.callPackage inputs.topInputs.mac-style {})]; + }; }; hardware = { enableAllFirmware = true; bluetooth.enable = true; sensor.iio.enable = true; }; environment =