diff --git a/home/niri.nix b/home/niri.nix index 514e072..6acb7fd 100644 --- a/home/niri.nix +++ b/home/niri.nix @@ -241,11 +241,11 @@ in "--server" ]; } - #{ ## Uses systemd unit instead. - # argv = [ - # "noctalia-shell" - # ]; - #} + { ## Uses systemd unit instead. + argv = [ + "noctalia-shell" + ]; + } ]; # Prefer no CSD @@ -656,6 +656,7 @@ in # Network applet (Noctalia has built-in network/bluetooth controls) networkmanagerapplet + networkmanager-openconnect networkmanager swayidle diff --git a/home/noctalia.nix b/home/noctalia.nix index 98a8219..f8db5f2 100644 --- a/home/noctalia.nix +++ b/home/noctalia.nix @@ -7,8 +7,6 @@ { programs.noctalia-shell = { enable = true; - systemd.enable = true; - settings = { bar = { position = "top"; @@ -26,7 +24,6 @@ } { id = "SystemMonitor"; } { id = "MediaMini"; } - { id = "Pomodoro"; } { id = "Workspace"; } ]; center = [ @@ -127,30 +124,30 @@ enabled = true; sourceUrl = "https://github.com/noctalia-dev/noctalia-plugins"; }; - todo = { - 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"; - }; + #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"; @@ -179,13 +176,13 @@ ai = { provider = "openai_compatible"; models = { - "openai_compatible" = "gpt-oss:20b"; + "openai_compatible" = "qwen3.5"; }; #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."; + temperature = 0.6; + systemPrompt = "You are a helpful assistant answering short questions. Be brief, think critically and come with constructual critics where needed."; openaiLocal = true; - openaiBaseUrl = "http://galadriel:11434/v1/chat/completions"; + openaiBaseUrl = "http://galadriel:11111/v1/chat/completions"; }; translator = { backend = "google"; diff --git a/home/python.nix b/home/python.nix index 8618788..aef1d31 100644 --- a/home/python.nix +++ b/home/python.nix @@ -22,6 +22,7 @@ pillow keras tqdm + tkinter ipykernel pyyaml authlib diff --git a/hosts/legolas/configuration.nix b/hosts/legolas/configuration.nix index 15d27e4..b1fb121 100644 --- a/hosts/legolas/configuration.nix +++ b/hosts/legolas/configuration.nix @@ -67,6 +67,10 @@ enable = true; enableSSHSupport = true; }; + + + services.dbus.enable = true; + services.dbus.implementation = "broker"; services.desktopManager.gnome.enable = true; diff --git a/modules/kdeconnect.nix b/modules/kdeconnect.nix index 7054990..b3b1f68 100644 --- a/modules/kdeconnect.nix +++ b/modules/kdeconnect.nix @@ -9,6 +9,7 @@ kdePackages.xdg-desktop-portal-kde kdePackages.kdeconnect-kde gnomeExtensions.gsconnect + kdePackages.qttools ]; programs.kdeconnect = { #package = pkgs.kdePackages.kdeconnect-kde; diff --git a/modules/xdg.nix b/modules/xdg.nix index f743672..6ee1ec1 100644 --- a/modules/xdg.nix +++ b/modules/xdg.nix @@ -15,24 +15,40 @@ # XDG related configurations xdg = { # Enable desktop portal integration + #portal = { + # enable = true; # Enable the portal system + # xdgOpenUsePortal = true; # Use portal for opening files and URLs + + # # Additional portals for specific environments + # extraPortals = with pkgs; [ + # xdg-desktop-portal-gtk + # xdg-desktop-portal + # xdg-desktop-portal-gnome + # kdePackages.xdg-desktop-portal-kde # For KDE environment + # ]; + + # # Configuration packages for portals (like GNOME session, Niri, etc.) + # configPackages = with pkgs; [ + # gnome-session + # niri + # ]; + #}; + + portal = { - enable = true; # Enable the portal system - xdgOpenUsePortal = true; # Use portal for opening files and URLs - - # Additional portals for specific environments - extraPortals = with pkgs; [ - xdg-desktop-portal-gtk - xdg-desktop-portal - xdg-desktop-portal-gnome - kdePackages.xdg-desktop-portal-kde # For KDE environment - ]; - - # Configuration packages for portals (like GNOME session, Niri, etc.) - configPackages = with pkgs; [ - gnome-session - niri - ]; - }; + enable = true; + xdgOpenUsePortal = true; + config.common.default = [ "gnome"]; + extraPortals = [ + pkgs.xdg-desktop-portal + pkgs.xdg-desktop-portal-gtk + pkgs.xdg-desktop-portal-gnome + ]; + configPackages = with pkgs; [ + gnome-session + niri + ]; + }; # Enable autostart functionality (launch apps on login) autostart.enable = true; @@ -54,15 +70,13 @@ xdg.mime.enable = true; # Enable additional configurations for portals - xdg.portal.wlr.enable = false; # Disable Wayland/Weston portal support (as you've commented out) - xdg.portal.lxqt.styles = true; # Enable LXQt portal styles (optional) - xdg.portal.lxqt.enable = false; # Disable LXQt portal integration (commented out as unnecessary) + xdg.portal.wlr.enable = true; # Disable Wayland/Weston portal support (as you've commented out) # Icons xdg.icons.fallbackCursorThemes = [ "Adwaita" ]; # Set a default cursor theme (you can change this) # Terminal execution configuration - xdg.terminal-exec.package = pkgs.xterm; # Choose the terminal emulator (can be changed to your preference) + xdg.terminal-exec.package = pkgs.foot; # Choose the terminal emulator (can be changed to your preference) xdg.terminal-exec.settings = { }; # Terminal-specific settings (customizable) }