From b6d7635ce0d4821addf7463a7d7b01a2b18f1973 Mon Sep 17 00:00:00 2001 From: Zhongheng Liu Date: Tue, 17 Dec 2024 00:52:03 +0200 Subject: [PATCH] feat: change notification daemon use sway notification center (much more modern) --- home-manager/stvnliu/home.nix | 3 ++- home-manager/stvnliu/services/default.nix | 9 +++++++++ home-manager/stvnliu/services/swaync.nix | 9 +++++++++ 3 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 home-manager/stvnliu/services/default.nix create mode 100644 home-manager/stvnliu/services/swaync.nix diff --git a/home-manager/stvnliu/home.nix b/home-manager/stvnliu/home.nix index 3fe5b53..aef2927 100644 --- a/home-manager/stvnliu/home.nix +++ b/home-manager/stvnliu/home.nix @@ -9,7 +9,8 @@ ./hypr ./shells ../../common/variables.nix - ./mako.nix + ./services + #./mako.nix DEPRECATED Changed to sway notification center ./wechat ./editors.nix ./gtk.nix diff --git a/home-manager/stvnliu/services/default.nix b/home-manager/stvnliu/services/default.nix new file mode 100644 index 0000000..c7801d9 --- /dev/null +++ b/home-manager/stvnliu/services/default.nix @@ -0,0 +1,9 @@ +{ + pkgs, + config, + ... +}: { + imports = [ + ./swaync.nix + ]; +} diff --git a/home-manager/stvnliu/services/swaync.nix b/home-manager/stvnliu/services/swaync.nix new file mode 100644 index 0000000..2a5d5bc --- /dev/null +++ b/home-manager/stvnliu/services/swaync.nix @@ -0,0 +1,9 @@ +{ + pkgs, + config, + ... +}: { + services.swaync = { + enable = true; + }; +}