home: wm: add dunst
This commit is contained in:
parent
971ee359ce
commit
6bad81a644
|
@ -10,6 +10,7 @@ let
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
|
./dunst.nix
|
||||||
./i3.nix
|
./i3.nix
|
||||||
./i3bar.nix
|
./i3bar.nix
|
||||||
./rofi.nix
|
./rofi.nix
|
||||||
|
@ -23,6 +24,10 @@ in
|
||||||
description = "Which window manager to use for home session";
|
description = "Which window manager to use for home session";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
dunst = {
|
||||||
|
enable = mkRelatedOption "dunst configuration" [ "i3" ];
|
||||||
|
};
|
||||||
|
|
||||||
i3bar = {
|
i3bar = {
|
||||||
enable = mkRelatedOption "i3bar configuration" [ "i3" ];
|
enable = mkRelatedOption "i3bar configuration" [ "i3" ];
|
||||||
};
|
};
|
||||||
|
|
11
home/wm/dunst.nix
Normal file
11
home/wm/dunst.nix
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
{ config, lib, ... }:
|
||||||
|
let
|
||||||
|
cfg = config.my.home.wm.dunst;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
config = lib.mkIf cfg.enable {
|
||||||
|
services.dunst = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue