{ pkgs, unstablePkgs, hermes-agent, nixarchy, skygUtils, config, ... }: let # Omarchy (nixarchy) shell, hand-wired — no nixarchy modules. The shell is # launched from configs/fwbook/hypr/conf/autostart.lua (omarchy-launch-shell). # # Workaround for an upstream bug in nixarchy v4.0.4-1: the omarchy package's # installPhase is one '' string whose least-indented lines are the shell-quoted # omarchy-theme-set patterns (indent 4), so Nix dedents the whole string by 4 # and the inline `python3 -c '...'` menu check stays indented -> IndentationError. # Wrap that one invocation so its code is dedented before Python sees it. dedent = "${pkgs.gawk}/bin/awk 'BEGIN{m=9999} {l[NR]=$0; match($0,/^ */); if ($0 ~ /[^ ]/ && RLENGTH configs/fwbook/omarchy (same pattern as hypr/noctalia). system.userActivationScripts.omarchyConfig.text = skygUtils.makeHyperlinkScriptToConfigs { filePath = "fwbook/omarchy"; targetPath = "omarchy"; configSource = "/home/${config.skyg.user.name}/nixos-setup/configs"; }; environment.systemPackages = [ omarchy ] ++ omarchyRuntime # Theme application: omarchy-theme-set-gnome writes gsettings, and every # theme names a Yaru icon variant. ++ (with pkgs; [ glib gsettings-desktop-schemas gnome-themes-extra yaru-theme adwaita-icon-theme ]) ++ (with pkgs; [ grim slurp wl-clipboard tesseract imagemagick zbar curl translate-shell wl-screenrec ffmpeg gifski libusb1 lshw jq parted gparted-full f3 nixd kdePackages.qtdeclarative piper-tts ffmpeg oreo-cursors-plus postgresql google-cloud-sdk awscli openfortivpn openfortivpn-webview openfortivpn-webview-qt nodejs wineWow64Packages.stable winetricks wineWow64Packages.waylandFull obs-studio davinci-resolve-wrapped grim slurp wl-clipboard tesseract imagemagick zbar curl translate-shell wl-screenrec ffmpeg gifski jq krita gimp-with-plugins shotcut simple-scan zoom-us betterdiscordctl discord signal-desktop telegram-desktop python313 python314 uv cargo rustc go pipx rust-analyzer vscode unstablePkgs.zed-editor-fhs unstablePkgs.et unstablePkgs.devenv just rpi-imager rpiboot code-cursor-fhs nix-prefetch orca-slicer devcontainer gpu-screen-recorder flox_dev darling-dmg bitwarden-cli onlyoffice-desktopeditors gh gdk unstablePkgs.slack libimobiledevice ifuse idevicerestore unstablePkgs.grok-build unstablePkgs.pi-coding-agent unstablePkgs.goose-cli unstablePkgs.claude-agent-acp unstablePkgs.claude-code buzz-desktop bubblewrap delta-editor herdr hermes-agent.packages.${pkgs.stdenv.hostPlatform.system}.default skygqts hermenix ]); }