feat: don't use swayosd on macos

This commit is contained in:
uttarayan21
2025-07-22 17:20:56 +05:30
parent 5e39a94872
commit d179a45db8
4 changed files with 20 additions and 16 deletions

View File

@@ -16,7 +16,8 @@ in {
services.kdeconnect.enable = linux_gui;
services.kdeconnect.indicator = linux_gui;
home.packages = with pkgs; [
home.packages = with pkgs;
lib.optionals linux_gui [
ncpamixer
];
# services.swayosd.enable = linux_gui;

View File

@@ -1,6 +1,6 @@
{...}: {
{device, ...}: {
services.swaync = {
enable = true;
enable = device.name == "ryu";
settings = {
notification-inline-replies = true;
cssPriority = "user";

View File

@@ -1,3 +1,3 @@
{...}: {
services.swayosd.enable = true;
{device, ...}: {
services.swayosd.enable = device.name == "ryu";
}

View File

@@ -497,6 +497,9 @@ in {
inlayHints = {
typeHints.enable = false;
};
check = {
features = ["default"];
};
files.exclude = [
".cargo/"
".direnv/"
@@ -509,15 +512,15 @@ in {
};
};
};
onAttach =
/*
lua
*/
''
if client.server_capabilities.inlayHintProvider then
vim.lsp.inlay_hint.enable(true)
end
'';
# onAttach =
# /*
# lua
# */
# ''
# if client.server_capabilities.inlayHintProvider then
# vim.lsp.inlay_hint.enable(true)
# end
# '';
};
# blink-cmp = {
# enable = false;