This commit is contained in:
RingOfStorms (Joshua Bell) 2025-03-07 18:16:49 -06:00
parent 88f2d95e6a
commit 7bcaca441a
5 changed files with 1920 additions and 68 deletions

View file

@ -1,16 +1,16 @@
{
custom_config_key,
config,
lib,
...
}:
let
cfg_path = "${custom_config_key}".boot.systemd;
cfg = config.${cfg_path};
# ccfg = import ../config.nix;
# cfg_path = "${custom_config_key}".boot.systemd;
cfg = config.ringofstorms_common.boot.systemd;
in
with lib;
{
options.${cfg_path} = {
options.ringofstorms_common.boot.systemd = {
enable = mkEnableOption "Systemd bootloader";
};
config = mkIf cfg.enable {