wired: use wired-notify's default hm module

This commit is contained in:
Primrose 2024-12-15 21:31:46 +01:00
parent 93f99a47f7
commit a6bdad5d51
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
3 changed files with 18 additions and 24 deletions

View file

@ -1,27 +1,7 @@
{
pkgs,
config,
lib,
...
}:
let
cfg = config.programs.wired;
in
{
options = {
programs.wired = {
enable = lib.mkEnableOption "wired";
};
};
config = lib.mkIf cfg.enable {
home.packages = [ pkgs.wired ];
xdg.configFile = {
"wired/wired.ron".source = ./wired.ron;
};
services.wired = {
config = ./wired.ron;
};
}