nixos-config/system/wm/wayland.nix

40 lines
822 B
Nix
Raw Normal View History

2024-02-28 07:03:42 +05:30
{ config, pkgs, ... }:
{
imports = [ ./pipewire.nix
./dbus.nix
./gnome-keyring.nix
./fonts.nix
];
2024-02-28 07:03:42 +05:30
environment.systemPackages = with pkgs;
[ wayland waydroid
(sddm-chili-theme.override {
themeConfig = {
background = config.stylix.image;
ScreenWidth = 1920;
ScreenHeight = 1080;
blur = true;
recursiveBlurLoops = 3;
recursiveBlurRadius = 5;
};})
];
# Configure xwayland
services.xserver = {
enable = true;
2024-02-29 07:22:29 +05:30
xkb = {
layout = "us";
variant = "";
options = "caps:escape";
};
2024-02-28 07:03:42 +05:30
displayManager.sddm = {
enable = true;
2024-02-28 07:03:42 +05:30
wayland.enable = true;
enableHidpi = true;
theme = "chili";
package = pkgs.sddm;
};
};
}