dots/hosts/orion/modules/graphical.nix
Price Hiller 6b5270d843
Some checks failed
Check Formatting of Files / Check-Formatting (push) Failing after 1m4s
fix(nix/host/orion): properly enable graphics acceleration
2024-06-22 05:50:43 -05:00

39 lines
715 B
Nix

{ pkgs, ... }:
{
services.displayManager = {
autoLogin = {
enable = true;
user = "price";
};
defaultSession = "hyprland";
sddm = {
wayland.enable = true;
enable = true;
autoLogin.relogin = true;
};
};
programs.hyprland = {
enable = true;
xwayland.enable = true;
};
xdg = {
autostart.enable = true;
portal = {
enable = true;
extraPortals = with pkgs; [
xdg-desktop-portal
xdg-desktop-portal-gtk
];
};
};
hardware.graphics = {
enable = true;
extraPackages = with pkgs; [
intel-media-driver
intel-vaapi-driver
libvdpau
];
};
services.spice-vdagentd.enable = true;
}