refactor: replace gammastep by noctalia-shell, update README (#241)

This commit is contained in:
Ryan Yin
2026-01-04 00:06:22 +08:00
committed by GitHub
parent fb7a0cd178
commit 74c8912897
12 changed files with 92 additions and 62 deletions

View File

@@ -0,0 +1,38 @@
{ mylib, pkgs, ... }:
{
# wayland related
home.sessionVariables = {
"NIXOS_OZONE_WL" = "1"; # for any ozone-based browser & electron apps to run on wayland
"MOZ_ENABLE_WAYLAND" = "1"; # for firefox to run on wayland
"MOZ_WEBRENDER" = "1";
# enable native Wayland support for most Electron apps
"ELECTRON_OZONE_PLATFORM_HINT" = "auto";
# misc
"_JAVA_AWT_WM_NONREPARENTING" = "1";
"QT_WAYLAND_DISABLE_WINDOWDECORATION" = "1";
"QT_QPA_PLATFORM" = "wayland";
"SDL_VIDEODRIVER" = "wayland";
"GDK_BACKEND" = "wayland";
"XDG_SESSION_TYPE" = "wayland";
};
home.packages = with pkgs; [
swaybg # the wallpaper
wl-clipboard # copying and pasting
hyprpicker # color picker
brightnessctl
# audio
alsa-utils # provides amixer/alsamixer/...
networkmanagerapplet # provide GUI app: nm-connection-editor
# screenshot/screencast
flameshot
hyprshot # screen shot
wf-recorder # screen recording
];
# screen locker
programs.swaylock.enable = true;
# Logout Menu
programs.wlogout.enable = true;
}