terra's desktop is split into profiles/workstation.nix (NixOS side) and home/desktop/ (home-manager side, moved from hosts/terra/home*), so titan, an ASUS Zenbook Pro Duo UX581 (Intel iGPU + RTX 2060 PRIME offload), gets the same Hyprland workstation. Per-host monitors, primary/secondary output and wallpaper are homelab.desktop.* options; the quickshell widgets read the outputs from QS_PRIMARY_OUTPUT/QS_SECONDARY_OUTPUT instead of hardcoding DP-2/HDMI-A-1. Folder icons come from a new HyprChrome-Folders icon theme. titan gets its own sops file and recipient. LibreChat is removed from terra along with its secrets declarations. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
56 lines
1.4 KiB
Nix
56 lines
1.4 KiB
Nix
{ pkgs, lib, ... }:
|
|
|
|
let
|
|
rishot = pkgs.callPackage ../../pkgs/rishot.nix { };
|
|
in
|
|
|
|
# Desktop applications for a workstation host (terra, titan). Split from
|
|
# desktop-hyprland.nix, which owns the *session* (compositor, greeter, audio,
|
|
# portals); this owns the things the user actually launches inside it.
|
|
{
|
|
nixpkgs.config.allowUnfreePredicate = pkg:
|
|
builtins.elem (lib.getName pkg) [
|
|
"gitkraken"
|
|
"jetbrains-toolbox"
|
|
"steam"
|
|
"steam-unwrapped"
|
|
"steam-run"
|
|
"claude-code"
|
|
"claude-desktop" # services/desktop/claude-desktop.nix
|
|
"proton-pass-cli"
|
|
"vivaldi"
|
|
"nvidia-x11" # titan's RTX 2060
|
|
"nvidia-settings"
|
|
];
|
|
|
|
programs.steam = {
|
|
enable = true;
|
|
remotePlay.openFirewall = true;
|
|
dedicatedServer.openFirewall = false;
|
|
gamescopeSession.enable = true;
|
|
extraCompatPackages = [ pkgs.proton-ge-bin ];
|
|
};
|
|
hardware.graphics.enable32Bit = true;
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
alacritty
|
|
zed-editor
|
|
gitkraken
|
|
jetbrains-toolbox
|
|
cosmic-settings-daemon
|
|
cosmic-settings
|
|
cosmic-icons
|
|
cosmic-files
|
|
vivaldi
|
|
rishot
|
|
jq
|
|
dotnetCorePackages.sdk_10_0
|
|
nodejs
|
|
yaak # desktop API client (REST/GraphQL/gRPC)
|
|
# pkgsRocm, not plain blender: Cycles needs HIP to render on the RX 6800 XT.
|
|
pkgsRocm.blender
|
|
];
|
|
|
|
fonts.packages = [ pkgs.nerd-fonts.departure-mono ];
|
|
}
|