16 lines
383 B
Nix
16 lines
383 B
Nix
{ config, pkgs, lib, ... }:
|
|
|
|
let
|
|
cfg = config.local.services.wired;
|
|
themeCfg = config.local.themes."${config.local.theme.name}";
|
|
in
|
|
{
|
|
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);
|
|
};
|
|
};
|
|
}
|