confix/nixos/wayland.nix

57 lines
938 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-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
swaylock
swww
tessen
wl-clipboard
wtype
];
}