feat(hyprland): add hyprland and wayland config
This commit is contained in:
18
users/modules/swaync.nix
Normal file
18
users/modules/swaync.nix
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
with lib; let
|
||||
cfg = config.modules.swaync;
|
||||
in {
|
||||
options.modules.swaync = {
|
||||
enable = mkEnableOption "Enables swaync";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
services.swaync.enable = true;
|
||||
home.packages = [pkgs.swaynotificationcenter];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user