diff --git a/home/noctalia.nix b/home/noctalia.nix index 7e4e461..98a8219 100644 --- a/home/noctalia.nix +++ b/home/noctalia.nix @@ -26,6 +26,7 @@ } { id = "SystemMonitor"; } { id = "MediaMini"; } + { id = "Pomodoro"; } { id = "Workspace"; } ]; center = [ @@ -66,7 +67,7 @@ directory = "~/Pictures/wallpapers"; automationEnabled = true; wallpaperChangeMode = "random"; - randomIntervalSec = 270; + randomIntervalSec = 270000; fillMode = "crop"; }; @@ -87,7 +88,6 @@ enableSettingsSearch = true; ignoreMouseInput = false; screenshotAnnotationTool = ""; - }; notifications = { @@ -112,7 +112,116 @@ showWeekNumberInCalendar = true; firstDayOfWeek = -1; }; + }; + plugins = { + sources = [ + { + enabled = true; + name = "Official Noctalia Plugins"; + url = "https://github.com/noctalia-dev/noctalia-plugins"; + } + ]; + states = { + notes-scratchpad = { + enabled = true; + sourceUrl = "https://github.com/noctalia-dev/noctalia-plugins"; + }; + todo = { + enabled = true; + sourceUrl = "https://github.com/noctalia-dev/noctalia-plugins"; + }; + assistant-panel = { + enabled = true; + sourceUrl = "https://github.com/noctalia-dev/noctalia-plugins"; + }; + pomodoro = { + enabled = true; + sourceUrl = "https://github.com/noctalia-dev/noctalia-plugins"; + }; + tailscale = { + enabled = true; + sourceUrl = "https://github.com/noctalia-dev/noctalia-plugins"; + }; + noctalia-supergfxctl = { + enabled = true; + sourceUrl = "https://github.com/noctalia-dev/noctalia-plugins"; + }; + weekly-calendar = { + enabled = true; + sourceUrl = "https://github.com/noctalia-dev/noctalia-plugins"; + }; + kaomoji-provider = { + enabled = true; + sourceUrl = "https://github.com/noctalia-dev/noctalia-plugins"; + }; + rss-feed = { + enabled = true; + sourceUrl = "https://github.com/noctalia-dev/noctalia-plugins"; + }; + keybind-cheatsheet = { + enabled = true; + sourceUrl = "https://github.com/noctalia-dev/noctalia-plugins"; + }; + }; + version = 1; + }; + + pluginSettings = { + notes-scratchpad = { + panelWidth = 1200; + panelHeigth = 1600; + fontSize = 16; + filePath = "${config.xdg.userDirs.documents}/notes-scratchpad.txt"; + }; + + assistant-panel = { + ai = { + provider = "openai_compatible"; + models = { + "openai_compatible" = "gpt-oss:20b"; + }; + #apiKeys = {}; + temperature = 0.7; + systemPrompt = "You are a helpful assistant answering short questions. Be brief, think critically and come with constructual critics for how to improve."; + openaiLocal = true; + openaiBaseUrl = "http://galadriel:11434/v1/chat/completions"; + }; + translator = { + backend = "google"; + realTimeTranslation = true; + deeplApiKey = ""; + }; + maxHistoryLength = 10; + panelDetached = true; + panelPosition = "center"; + panelHeightRatio = 0.70; + panelWidth = 640; + attachmentStyle = "connected"; + scale = 1; + }; + rss-feed = { + feeds = [ + { + name = "Hacker News"; + url = "https://news.ycombinator.com/rss"; + } + ]; + updateInterval = 3600; + maxItemsPerFeed = 10; + showOnlyUnread = true; + markAsReadOnClick = true; + }; }; }; + + # Noctalia is started via a systemd user service, so it won't see variables + # set only in niri's `settings.environment`. Put theme-related env here. + systemd.user.services.noctalia-shell.Service.Environment = [ + "QT_QPA_PLATFORM=wayland;xcb" + "QT_QPA_PLATFORMTHEME=qt6ct" + "QT_AUTO_SCREEN_SCALE_FACTOR=1" + # Ensures Quickshell resolves app icons from a known icon theme. + "QS_ICON_THEME=Papirus-Dark" + ]; }