Skip to content
This repository was archived by the owner on Apr 24, 2026. It is now read-only.

Commit 0840ead

Browse files
committed
Add xenia plymouth theme
1 parent 68bebf8 commit 0840ead

2 files changed

Lines changed: 20 additions & 6 deletions

File tree

common.nix

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
boot.kernelParams = [ "quiet" "splash" ];
1414
boot.plymouth = {
1515
enable = true;
16-
themePackages = [ pkgs.plymouth-hackers-theme ];
16+
themePackages = [ pkgs.plymouth-theme-hackers pkgs.plymouth-theme-xenia ];
1717
};
1818

1919
# Enable networking
@@ -165,7 +165,8 @@
165165
gettext # needed for guest-account
166166
update # the update script (see below)
167167
autostart # the autostart script (see below)
168-
plymouth-hackers-theme
168+
plymouth-theme-hackers
169+
plymouth-theme-xenia
169170
account-manager
170171
];
171172

@@ -185,7 +186,7 @@
185186
version = src.rev;
186187
src = prev.fetchgit {
187188
url = "https://aur.archlinux.org/lightdm-guest-account.git";
188-
hash = "sha256-Ks2oGYfqbxgqKdbiIgiIkjI0yL8CZlp8yd7IHxilxnk=";
189+
hash = "sha256-fQKqmEN9bofK0DKm9NNDgBWhH0sERDNDAk4peDskdp8=";
189190
};
190191
patches = [
191192
./guest-account-path.patch
@@ -216,8 +217,8 @@
216217
'';
217218
};
218219
# Add plymouth themes
219-
plymouth-hackers-theme = prev.stdenv.mkDerivation {
220-
pname = "plymouth-hackers-theme";
220+
plymouth-theme-hackers = prev.stdenv.mkDerivation {
221+
pname = "plymouth-theme-hackers";
221222
version = "0.1.0";
222223
src = prev.fetchFromGitHub {
223224
owner = "mainframed";
@@ -241,6 +242,19 @@
241242
find $out/share/plymouth/themes/ -name \*.plymouth -exec sed -i "s@\/usr\/@$out\/@" {} \;
242243
'';
243244
};
245+
plymouth-theme-xenia = prev.stdenv.mkDerivation {
246+
pname = "plymouth-theme-xenia";
247+
version = "0.1.0";
248+
src = prev.fetchgit {
249+
url = "https://code.opensuse.org/fl4nn/plymouth-theme-xenia.git";
250+
hash = "sha256-Ks2oGYfqbxgqKdbiIgiIkjI0yL8CZlp8yd7IHxilxnk=";
251+
};
252+
installPhase = ''
253+
mkdir -p $out/share/plymouth/themes
254+
cp -r xenia $out/share/plymouth/themes
255+
find $out/share/plymouth/themes/ -name \*.plymouth -exec sed -i "s@\/usr\/@$out\/@" {} \;
256+
'';
257+
};
244258
account-manager = let
245259
qtEnv = with prev.qt6; env "qt-custom-${qtbase.version}" [ qtdeclarative qtquick3d qt3d prev.libglvnd ]; in prev.rustPlatform.buildRustPackage rec {
246260
pname = "account-manager";

nicerslicer.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
];
1212

1313
networking.hostName = "nicerslicer"; # Define your hostname.
14-
boot.plymouth.theme = "acidburn"; # TODO: xenia
14+
boot.plymouth.theme = "xenia";
1515

1616
boot.initrd.availableKernelModules = [ "xhci_pci" "ehci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" "sr_mod" ];
1717
boot.initrd.kernelModules = [ ];

0 commit comments

Comments
 (0)