| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- { config, pkgs, ... }:
- {
- imports = [
-
- ];
- environment.systemPackages = with pkgs; [
- cliphist
- wl-clipboard
- mission-center
- hyprpicker
- nomacs
- gammastep
- geoclue2
- wtype
- ];
- programs.sway = {
- enable = true;
- wrapperFeatures.gtk = true;
- extraPackages = with pkgs; [
- alacritty
- swaylock
- swayidle
- swaybg
- ];
- };
- programs.foot.enable = false;
- programs.kdeconnect.enable = true;
- environment.variables = {
- GDK_BACKEND = "wayland";
- XDG_SESSION_TYPE = "wayland";
- WLR_DRM_NO_ATOMIC = "1";
- NIXOS_OZONE_WL = "1";
- WLR_RENDERER = "vulkan";
- WLR_NO_HARDWARE_CURSORS = "1";
- ELECTRON_OZONE_PLATFORM_HINT = "wayland";
- };
- xdg.portal = {
- enable = true;
- wlr.enable = true;
- extraPortals = with pkgs; [
- xdg-desktop-portal-wlr
- ];
- };
- environment.sessionVariables = {
- NIXOS_OZONE_WL = "1";
- QT_QPA_PLATFORM = "wayland";
- XDG_CURRENT_DESKTOP = "sway";
- WLR_NO_HARDWARE_CURSORS = "1";
- };
- security.pam.services.swaylock = {};
- services.gnome.gnome-keyring.enable = true;
- security.pam.services.login.enableGnomeKeyring = true;
- }
|