mirror of
https://github.com/Dichgrem/DCGOS.git
synced 2025-12-16 11:12:00 -05:00
feat:use biome fmt test:add copilot chore:let terminal just one fix:keymaps for close buffer fix:disable markdown view && fix conceallevel
103 lines
1.7 KiB
Nix
103 lines
1.7 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
|
|
|
|
#Android
|
|
xxd
|
|
file
|
|
binwalk
|
|
qtscrcpy
|
|
android-tools
|
|
payload-dumper-go
|
|
|
|
# Misc
|
|
tree
|
|
libnotify
|
|
libvirt
|
|
lm_sensors
|
|
usbutils
|
|
libsecret
|
|
|
|
# Niri
|
|
wlr-randr
|
|
|
|
# Dev
|
|
go
|
|
zig
|
|
lua
|
|
gcc
|
|
gdb
|
|
cmake
|
|
clang
|
|
gnumake
|
|
rustc
|
|
cargo
|
|
dart
|
|
kotlin
|
|
flutter
|
|
jdk17
|
|
python312
|
|
pnpm
|
|
nodejs_24
|
|
];
|
|
};
|
|
|
|
programs = {
|
|
dconf.enable = true;
|
|
fuse.userAllowOther = true;
|
|
ssh.startAgent = true;
|
|
};
|
|
}
|