modularize hyprland
This commit is contained in:
parent
b406b8bbfa
commit
2343d3f309
5 changed files with 596 additions and 20 deletions
14
modules/dunst.nix
Normal file
14
modules/dunst.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{ config, lib, pkgs, inputs, ... }:
|
||||
let
|
||||
cfg = config.modules.dunst;
|
||||
in
|
||||
{
|
||||
options.modules.dunst = {
|
||||
enable = lib.mkEnableOption "enable dunst for notifications";
|
||||
};
|
||||
config = lib.mkIf cfg.enable {
|
||||
services.dunst = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue