configuration.nix/hosts/skipper/specialisations.nix

35 lines
695 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 = {
stable = {
inheritParentConfig = true;
configuration = {
boot = {
kernelPackages = lib.mkForce pkgs.linuxPackages;
inherit plymouth;
};
};
};
latest = {
inheritParentConfig = true;
configuration = {
boot = {
kernelPackages = lib.mkForce pkgs.linuxPackages_latest;
inherit plymouth;
};
};
};
};
}