mirror of
https://github.com/Theaninova/TheaninovOS.git
synced 2025-12-12 11:36:20 +00:00
feat: more dynamic theming
This commit is contained in:
23
modules/nixos/shell/dunst.nix
Normal file
23
modules/nixos/shell/dunst.nix
Normal file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
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 = { };
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user