diff --git a/home-manager/modules/swaync/default.nix b/home-manager/modules/swaync/default.nix index 5072cdf..a9e748a 100644 --- a/home-manager/modules/swaync/default.nix +++ b/home-manager/modules/swaync/default.nix @@ -1,5 +1,24 @@ { - imports = [ - ./swaync.nix - ]; + services.swaync = { + enable = true; + settings = { + positionX = "right"; + positionY = "top"; + layer = "overlay"; + control-center-layer = "top"; + layer-shell = true; + cssPriority = "application"; + control-center-margin-top = 0; + control-center-margin-bottom = 0; + control-center-margin-right = 0; + control-center-margin-left = 0; + notification-2fa-action = true; + notification-inline-replies = false; + notification-icon-size = 64; + notification-body-image-height = 100; + notification-body-image-width = 200; + }; + }; + + home.file.".config/swaync/style.css".source = ./style.css; } diff --git a/home-manager/modules/swaync/swaync.nix b/home-manager/modules/swaync/swaync.nix deleted file mode 100644 index a9e748a..0000000 --- a/home-manager/modules/swaync/swaync.nix +++ /dev/null @@ -1,24 +0,0 @@ -{ - services.swaync = { - enable = true; - settings = { - positionX = "right"; - positionY = "top"; - layer = "overlay"; - control-center-layer = "top"; - layer-shell = true; - cssPriority = "application"; - control-center-margin-top = 0; - control-center-margin-bottom = 0; - control-center-margin-right = 0; - control-center-margin-left = 0; - notification-2fa-action = true; - notification-inline-replies = false; - notification-icon-size = 64; - notification-body-image-height = 100; - notification-body-image-width = 200; - }; - }; - - home.file.".config/swaync/style.css".source = ./style.css; -}