confix/nixos/wayland.nix
2024-01-24 21:38:01 -08:00

50 lines
751 B
Nix

# Wayland configuration.nix
{ config, lib, pkgs, inputs, user, ... }:
{
imports = [
./gui.nix
];
environment = {
variables = {
TERMINAL = "foot";
};
};
xdg = {
autostart.enable = true;
portal = {
enable = true;
xdgOpenUsePortal = true;
extraPortals = [
pkgs.xdg-desktop-portal-wlr
];
configPackages = [
pkgs.xdg-desktop-portal-wlr
];
};
};
environment.systemPackages = with pkgs; [
bemenu
bemoji
cliphist
grim
foot
imv
kanshi
mako
pinentry-bemenu
slurp
swappy
swaylock
swww
tessen
waybar
wf-recorder
wl-clipboard
wtype
];
programs.xwayland = {
enable = true;
};
};
}