mirror of
https://github.com/Theaninova/TheaninovOS.git
synced 2025-12-12 11:36:20 +00:00
23 lines
359 B
Nix
23 lines
359 B
Nix
{
|
|
config,
|
|
lib,
|
|
username,
|
|
...
|
|
}:
|
|
|
|
let
|
|
cfg = config.shell.components.dunst;
|
|
in
|
|
{
|
|
options.shell.components.dunst = {
|
|
enable = lib.mkEnableOption (lib.mdDoc "Enable a pre-configured dunst setup");
|
|
};
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
home-manager.users.${username}.services.dunst = {
|
|
enable = true;
|
|
settings = { };
|
|
};
|
|
};
|
|
}
|