hmServices, refactor extension, home to automatic

This commit is contained in:
Julia Lange 2024-11-29 02:20:20 -08:00
parent e2e3598230
commit 49cb3c949c
Signed by: Julia
SSH key fingerprint: SHA256:KI8YxpkPRbnDRkXPgCuQCVz181++Vy7NAvmQj8alOhM
10 changed files with 12 additions and 19 deletions

View file

@ -0,0 +1,49 @@
{ config, pkgs, lib, ... }:
{
options.dunst = {
enable = lib.mkEnableOption "Enables dunst";
};
config = lib.mkIf config.dunst.enable {
home.packages = with pkgs; [
libnotify
];
services.dunst = {
enable = true;
settings = {
global = {
width = 280;
height = 240;
origin = "bottom-right";
offset = "0x300";
notification_limit = 3;
progress_bar_max_width = 280;
gap_size = 4;
corner_radius = 20;
};
urgency_low = {
background = "#FFFFFFCC";
foreground = "#000000";
frame_color = "#0000";
};
urgency_normal = {
background = "#FFFFFFCC";
foreground = "#000000";
frame_color = "#0000";
};
urgency_critical = {
background = "#FFFFFFCC";
foreground = "#000000";
frame_color = "#0000";
};
};
};
};
}