fix(Zephyrus + hypr): Fixed seatd issues

This commit is contained in:
GaspardCulis 2024-09-20 17:54:07 +02:00
parent 6e3f665fea
commit feb7cd1e34
2 changed files with 5 additions and 0 deletions

View file

@ -9,6 +9,7 @@
home.packages = [ home.packages = [
pkgs.egl-wayland # For NVIDIA compatibility pkgs.egl-wayland # For NVIDIA compatibility
pkgs.xdg-desktop-portal-hyprland
]; ];
wayland.windowManager.hyprland = { wayland.windowManager.hyprland = {

View file

@ -26,6 +26,7 @@
extraGroups = [ extraGroups = [
"wheel" "wheel"
"video" "video"
"seat"
]; ];
group = "gaspard"; group = "gaspard";
}; };
@ -40,6 +41,9 @@
# Programs # Programs
environment.systemPackages = [pkgs.git]; environment.systemPackages = [pkgs.git];
# Services
services.seatd.enable = true;
# NVIDIA # NVIDIA
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) ["nvidia-x11" "nvidia-settings"]; nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) ["nvidia-x11" "nvidia-settings"];