2024-04-16 11:28:28 +03:00
|
|
|
{ config, pkgs, lib, ... }:
|
2022-10-12 01:41:32 +03:00
|
|
|
|
2024-04-16 02:51:46 +03:00
|
|
|
let
|
2024-04-16 11:28:28 +03:00
|
|
|
cfg = config.local.services.wired;
|
2024-04-16 02:51:46 +03:00
|
|
|
themeCfg = config.local.themes."${config.local.theme.name}";
|
|
|
|
in
|
2022-10-12 01:41:32 +03:00
|
|
|
{
|
2024-04-16 11:28:28 +03:00
|
|
|
options.local.services.wired.enable = lib.mkEnableOption "wired";
|
|
|
|
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
|
|
services.wired = {
|
|
|
|
enable = true;
|
|
|
|
config = pkgs.substituteAll ({ src = ./wired.ron; } // themeCfg.notification);
|
|
|
|
};
|
2022-10-12 01:41:32 +03:00
|
|
|
};
|
|
|
|
}
|