1
0

default.nix 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. { config, pkgs, ... }:
  2. {
  3. imports = [
  4. ];
  5. environment.systemPackages = with pkgs; [
  6. cliphist
  7. wl-clipboard
  8. mission-center
  9. hyprpicker
  10. nomacs
  11. gammastep
  12. geoclue2
  13. wtype
  14. kitty
  15. alacritty
  16. hyprlauncher
  17. ];
  18. programs.hyprland = {
  19. enable = true;
  20. withUWSM = true;
  21. xwayland.enable = true;
  22. };
  23. programs.kdeconnect.enable = true;
  24. environment.variables = {
  25. GDK_BACKEND = "wayland";
  26. XDG_SESSION_TYPE = "wayland";
  27. WLR_DRM_NO_ATOMIC = "1";
  28. NIXOS_OZONE_WL = "1";
  29. WLR_RENDERER = "vulkan";
  30. WLR_NO_HARDWARE_CURSORS = "1";
  31. ELECTRON_OZONE_PLATFORM_HINT = "wayland";
  32. };
  33. xdg.portal = {
  34. enable = true;
  35. wlr.enable = true;
  36. extraPortals = with pkgs; [
  37. xdg-desktop-portal-wlr
  38. ];
  39. };
  40. environment.sessionVariables = {
  41. NIXOS_OZONE_WL = "1";
  42. QT_QPA_PLATFORM = "wayland";
  43. XDG_CURRENT_DESKTOP = "hyprland";
  44. WLR_NO_HARDWARE_CURSORS = "1";
  45. };
  46. services.gnome.gnome-keyring.enable = true;
  47. security.pam.services.login.enableGnomeKeyring = true;
  48. }