hmServices, refactor extension, home to automatic
This commit is contained in:
parent
e2e3598230
commit
49cb3c949c
10 changed files with 12 additions and 19 deletions
|
|
@ -1,49 +0,0 @@
|
|||
{ 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";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue