confix/nixos/wayland.nix

49 lines
791 B
Nix
Raw Normal View History

# 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
];
};
};
programs = {
river = {
enable = true;
extraPackages = with pkgs; [
bemenu
bemoji
cliphist
foot
grimblast
imv
mako
swaylock
swww
tessen
way-displays
wl-clipboard
wtype
];
};
xwayland = {
enable = true;
};
};
}