Merge branch 'main' of github.com:ooks-io/nix

This commit is contained in:
ooks-io 2024-03-12 21:38:12 +13:00
commit b0f0488a6e
11 changed files with 86 additions and 25 deletions

View file

@ -13,7 +13,7 @@
ooks.enable = true;
shell.fish.enable = true;
};
networking = {
hostName = "ookst480s";
};

View file

@ -1,7 +1,7 @@
{ lib, ... }:
{
imports = [ ./systemd ];
imports = [ ./systemd ./plymouth ];
options.systemModules = {
bootloader = {
@ -9,5 +9,8 @@
enable = lib.mkEnableOption "Enable systemd bootloader module";
};
};
plymouth = {
enable = lib.mkEnableOption "Enable plymouth bootscreen";
};
};
}

View file

@ -0,0 +1,15 @@
{ lib, config, pkgs, ... }:
let
cfg = config.systemModules.plymouth;
in
{
config = lib.mkIf cfg.enable {
boot.plymouth = {
enable = true;
themePackages = [(pkgs.catppuccin-plymouth.override {variant = "mocha";})];
theme = "catppuccin-mocha";
};
};
}