Files
DCGOS/modules/system/environment.nix
dichgrem 785bdefbaf feat:lazyvim-nix
add:opencode

Version 451 -> 452:
  dart: 3.10.3 → ∅
  dbeaver-bin: 25.3.0 → 25.3.1, -2025.8 KiB
  deno: 2.5.6 → 2.6.3, +909.8 KiB
  firefox-unwrapped: -68.5 KiB
  firmware: +20.7 KiB
  flutter: 3.38.4 → 3.38.5
  flutter-tools: 3.38.4 → 3.38.5
  flutter-wrapped: 3.38.4, 3.38.4-sdk → 3.38.5, 3.38.5-sdk
  golines: -3157.3 KiB
  gpsd: 3.27 → 3.27.2, -14.5 KiB
  initrd-linux-zen: 6.18.1 → 6.18.2
  ipxe: 1.21.1-unstable-2025-12-15 → 1.21.1-unstable-2025-12-22, +19.4 KiB
  just: 1.43.1 → 1.45.0, +84.2 KiB
  libvlc: 3.0.23 → 3.0.23-2, +8.8 KiB
  linux-firmware: 20251125 → 20251125-unstable-2025-12-18, +7566.1 KiB
  linux-zen: 6.18.1, 6.18.1-modules → 6.18.2, 6.18.2-modules, +31.2 KiB
  mpv: 0.40.0 → 0.41.0, +165.6 KiB
  mpv-with-scripts: 0.40.0 → 0.41.0
  nixd: 2.7.0 → 2.8.0
  nixf: 2.7.0 → 2.8.0, +125.9 KiB
  nixos-system-dos: 26.05.20251221.a653104 → 26.05.20251225.3e2499d
  nixt: 2.7.0 → 2.8.0
  opencode: 1.0.180 → 1.0.184, +26.3 KiB
  pnpm: 10.25.0 → 10.26.1
  python3.13-curl-cffi: 0.14.0b2 → 0.14.0, +106.2 KiB
  source: +160.8 KiB
  strawberry: 1.2.13 → 1.2.16, +174.0 KiB
  wireplumber: 0.5.12 → 0.5.13, +40.7 KiB
2025-12-26 22:28:03 +08:00

110 lines
1.8 KiB
Nix

{
hostname,
pkgs,
...
}: let
inherit (import ../../hosts/${hostname}/env.nix) ScaleLevel;
in {
environment = {
variables = {
EDITOR = "nvim";
TERMINAL = "alacritty";
_JAVA_AWT_WM_NONREPARENTING = 1;
AWT_TOOLKIT = "MToolkit";
CLUTTER_BACKEND = "wayland";
ELECTRON_OZONE_PLATFORM_HINT = "wayland";
GDK_BACKEND = "wayland";
GDK_SCALE = "${ScaleLevel}";
GTK_USE_PORTAL = 1;
MOZ_ENABLE_WAYLAND = 1;
NIXOS_OZONE_WL = 1;
QT_AUTO_SCREEN_SCALE_FACTOR = 1;
QT_QPA_PLATFORM = "wayland";
QT_WAYLAND_DISABLE_WINDOWDECORATION = 1;
SDL_HINT_VIDEODRIVER = "wayland";
XDG_SESSION_TYPE = "wayland";
SDL_VIDEODRIVER = "wayland";
QT_IM_MODULE = "fcitx";
SDL_IM_MODULE = "fcitx";
XMODIFIERS = "@im=fcitx";
};
systemPackages = with pkgs; [
# Archive
gnutar
p7zip
unzipNLS
xz
zip
zstd
# Greeter with ddm
tuigreet
# For OBS virtual cam support
v4l-utils
# Networking tool
iperf3
nexttrace
curl
wget
aria2
yt-dlp
openssl
#Android
xxd
file
binwalk
qtscrcpy
android-tools
payload-dumper-go
# Misc
tree
libnotify
libvirt
lm_sensors
usbutils
libsecret
lsof
# Niri
wlr-randr
# Dev
go
zig
lua
gcc
gdb
cmake
clang
gnumake
rustc
cargo
dart
kotlin
flutter
jdk17
python312
pnpm
bun
nodejs_24
# Agent
opencode
gemini-cli
];
};
programs = {
dconf.enable = true;
fuse.userAllowOther = true;
ssh.startAgent = true;
};
}