67 lines
1.8 KiB
Nix
67 lines
1.8 KiB
Nix
{ pkgs, lib, inputs, ... }:
|
|
|
|
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"
|
|
"rsi-launcher" # services/desktop/star-citizen.nix (terra)
|
|
"rsi-installer"
|
|
"teamspeak6-client" # terra
|
|
"7zz" # nexusmods-app-unfree (terra): RAR support
|
|
"uasm" # builds 7zz
|
|
"claude-code"
|
|
"claude-desktop" # services/desktop/claude-desktop.nix
|
|
"proton-pass-cli"
|
|
"vivaldi"
|
|
"nvidia-x11" # titan's RTX 2060
|
|
"nvidia-settings"
|
|
];
|
|
|
|
nixpkgs.overlays = [ inputs.millennium.overlays.default ];
|
|
|
|
programs.steam = {
|
|
enable = true;
|
|
package = pkgs.millennium-steam; # Steam + Millennium (themes/plugins)
|
|
remotePlay.openFirewall = true;
|
|
dedicatedServer.openFirewall = false;
|
|
gamescopeSession.enable = true;
|
|
extraCompatPackages = [ pkgs.proton-ge-bin ];
|
|
};
|
|
hardware.graphics.enable32Bit = true;
|
|
|
|
# Rocket League LAN (UE3): 14001 discovery, 7777 game
|
|
networking.firewall.allowedUDPPorts = [ 7777 14001 ];
|
|
|
|
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 ];
|
|
}
|