Merge branch 'main' of github.com:ooks-io/nix
This commit is contained in:
commit
b0f0488a6e
11 changed files with 86 additions and 25 deletions
|
|
@ -13,7 +13,7 @@
|
|||
ooks.enable = true;
|
||||
shell.fish.enable = true;
|
||||
};
|
||||
|
||||
|
||||
networking = {
|
||||
hostName = "ookst480s";
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
15
system/modules/bootloader/plymouth/default.nix
Normal file
15
system/modules/bootloader/plymouth/default.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue