From 4f4f98da70cc093a70fb0fe1eb68fe0a561c1e42 Mon Sep 17 00:00:00 2001 From: martyTF Date: Sun, 19 Apr 2026 17:05:02 +0200 Subject: [PATCH] noctalia plugins and stuff --- home/desktop/shell/noctalia.nix | 125 +++++++++++++++++++++++++++++ hosts/marty-thinkpad/options.nix | 1 + modules/desktop/shell/noctalia.nix | 10 +++ modules/user/default.nix | 1 + 4 files changed, 137 insertions(+) diff --git a/home/desktop/shell/noctalia.nix b/home/desktop/shell/noctalia.nix index cb46ce1..e4678b3 100644 --- a/home/desktop/shell/noctalia.nix +++ b/home/desktop/shell/noctalia.nix @@ -779,74 +779,92 @@ activeTemplates = [ { id = "alacritty"; + active = true; enable = true; } { id = "btop"; + active = true; enable = true; } { id = "cava"; + active = true; enable = true; } { id = "emacs"; + active = true; enable = true; } { id = "gtk"; + active = true; enable = true; } { id = "hyprland"; + active = true; enable = true; } { id = "hyprtoolkit"; + active = true; enable = true; } { id = "kcolorscheme"; + active = true; enable = true; } { id = "kitty"; + active = true; enable = true; } { id = "mango"; + active = true; enable = true; } { id = "niri"; + active = true; enable = true; } { id = "qt"; + active = true; enable = true; } { id = "steam"; + active = true; enable = true; } { id = "sway"; + active = true; enable = true; } { id = "code"; + active = true; enable = true; } { id = "walker"; + active = true; enable = true; } { id = "zed"; + active = true; enable = true; } { id = "zenBrowser"; + active = true; enable = true; } ]; @@ -876,6 +894,113 @@ plugins = { autoUpdate = false; notifyUpdates = true; + sources = [ + { + enabled = true; + name = "Official Noctalia Plugins"; + url = "https://github.com/noctalia-dev/noctalia-plugins"; + } + { + enabled = true; + name = "Mic92"; + url = "https://github.com/Mic92/noctalia-plugins"; + } + { + enabled = true; + name = "anthonyhab"; + url = "https://github.com/anthonyhab/noctalia-plugins"; + } + ]; + states = { + catwalk = { + enabled = true; + sourceUrl = "https://github.com/noctalia-dev/noctalia-plugins"; + }; + clipper = { + enabled = true; + sourceUrl = "https://github.com/noctalia-dev/noctalia-plugins"; + }; + file-search = { + enabled = true; + sourceUrl = "https://github.com/noctalia-dev/noctalia-plugins"; + }; + giphy-search = { + enabled = true; + sourceUrl = "https://github.com/noctalia-dev/noctalia-plugins"; + }; + kagi-quick-search = { + enabled = true; + sourceUrl = "https://github.com/noctalia-dev/noctalia-plugins"; + }; + kaomoji-provider = { + enabled = true; + sourceUrl = "https://github.com/noctalia-dev/noctalia-plugins"; + }; + kde-connect = { + enabled = true; + sourceUrl = "https://github.com/noctalia-dev/noctalia-plugins"; + }; + keybind-cheatsheet = { + enabled = true; + sourceUrl = "https://github.com/noctalia-dev/noctalia-plugins"; + }; + obs-control = { + enabled = true; + sourceUrl = "https://github.com/noctalia-dev/noctalia-plugins"; + }; + parallax-wallpaper = { + enabled = true; + sourceUrl = "https://github.com/noctalia-dev/noctalia-plugins"; + }; + polkit-agent = { + enabled = true; + sourceUrl = "https://github.com/noctalia-dev/noctalia-plugins"; + }; + privacy-indicator = { + enabled = true; + sourceUrl = "https://github.com/noctalia-dev/noctalia-plugins"; + }; + rss-feed = { + enabled = true; + sourceUrl = "https://github.com/noctalia-dev/noctalia-plugins"; + }; + screen-toolkit = { + enabled = true; + sourceUrl = "https://github.com/noctalia-dev/noctalia-plugins"; + }; + slowbongo = { + enabled = true; + sourceUrl = "https://github.com/noctalia-dev/noctalia-plugins"; + }; + syncthing-status = { + enabled = true; + sourceUrl = "https://github.com/noctalia-dev/noctalia-plugins"; + }; + tailscale = { + enabled = true; + sourceUrl = "https://github.com/noctalia-dev/noctalia-plugins"; + }; + vscode-provider = { + enabled = true; + sourceUrl = "https://github.com/noctalia-dev/noctalia-plugins"; + }; + weekly-calendar = { + enabled = true; + sourceUrl = "https://github.com/noctalia-dev/noctalia-plugins"; + }; + homeassistant = { + enabled = true; + sourceUrl = "https://github.com/anthonyhab/noctalia-plugins"; + }; + rbw-provider = { + enabled = true; + sourceUrl = "https://github.com/Mic92/noctalia-plugins"; + }; + fprint-notify = { + enabled = true; + sourceUrl = "https://github.com/Mic92/noctalia-plugins"; + }; + }; }; idle = { enabled = false; diff --git a/hosts/marty-thinkpad/options.nix b/hosts/marty-thinkpad/options.nix index 7df270b..7570c88 100644 --- a/hosts/marty-thinkpad/options.nix +++ b/hosts/marty-thinkpad/options.nix @@ -17,6 +17,7 @@ locale = "de_DE.UTF-8"; hostname = "marty-thinkpad"; }; + device.type = "laptop"; apps = { audio = { base.enable = true; diff --git a/modules/desktop/shell/noctalia.nix b/modules/desktop/shell/noctalia.nix index bd8eaaf..f89d873 100644 --- a/modules/desktop/shell/noctalia.nix +++ b/modules/desktop/shell/noctalia.nix @@ -12,4 +12,14 @@ noctalia.enable = lib.mkEnableOption "enable noctalia"; }; }; + config = { + environment.systemPackages = + if config.desktop.shell.noctalia.enable then + with pkgs; + [ + evtest + ] + else + [ ]; + }; } diff --git a/modules/user/default.nix b/modules/user/default.nix index 0864183..15e4527 100644 --- a/modules/user/default.nix +++ b/modules/user/default.nix @@ -39,6 +39,7 @@ "audio" "render" "docker" + "input" ]; shell = config.user.shell; };