confix/nixos/wayland.nix

58 lines
947 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-hyprland
];
configPackages = [
pkgs.xdg-desktop-portal-hyprland
];
};
};
fonts.packages = with pkgs; [
comic-mono
noto-fonts
noto-fonts-cjk
noto-fonts-emoji
fira-code
fira-code-symbols
dina-font
];
programs = {
hyprland = {
enable = true;
xwayland.enable = true;
};
};
security.pam.services.swaylock = {
};
environment.systemPackages = with pkgs; [
bemenu
bemoji
cliphist
eww-wayland
foot
grimblast
hyprpicker
mako
swaylock
swww
tessen
wl-clipboard
wtype
];
}