configuration.nix/hosts/skipper/specialisations.nix

37 lines
794 B
Nix

{ lib
, pkgs
, ...
}:
let
plymouth = let theme = "angular_alt"; in {
enable = true;
themePackages = lib.mkForce [
(pkgs.adi1090x-plymouth-themes.override { selected_themes = [ theme ]; })
];
theme = lib.mkForce theme;
};
in
{
specialisation = {
xanmod = {
inheritParentConfig = true;
configuration = {
boot = {
kernelPackages = lib.mkForce pkgs.linuxPackages_xanmod_latest;
inherit plymouth;
};
system.nixos.tags = [ "with-xanmod" ];
};
};
zen = {
inheritParentConfig = true;
configuration = {
boot = {
kernelPackages = lib.mkForce pkgs.linuxPackages_zen;
inherit plymouth;
};
system.nixos.tags = [ "with-zen" ];
};
};
};
}