1
0
Fork 0

add(fwupd)

This commit is contained in:
Philipp 2025-06-20 15:45:16 +02:00
parent b32f5d48d8
commit a9ec420b9e
Signed by: Philipp
GPG key ID: 9EBD8439AFBAB750
2 changed files with 22 additions and 0 deletions

View file

@ -0,0 +1,21 @@
{
config,
lib,
namespace,
...
}:
with lib;
with lib.${namespace};
let
cfg = config.${namespace}.system.fwupd;
in
{
options.${namespace}.system.fwupd = with types; {
enable = mkBoolOpt false "Whether or not to enable fwupd.";
};
config = mkIf cfg.enable {
services.fwupd.enable = true;
};
}

View file

@ -72,6 +72,7 @@ with lib.${namespace};
system = { system = {
tmpfs = enabled; tmpfs = enabled;
fwupd = enabled;
fonts = { fonts = {
enable = true; enable = true;
emoji = true; emoji = true;