Compare commits

..

2 commits

Author SHA1 Message Date
GaspardCulis
feb7cd1e34 fix(Zephyrus + hypr): Fixed seatd issues 2024-09-20 17:54:07 +02:00
GaspardCulis
6e3f665fea feat(Zephyrus): Added git system package 2024-09-20 17:24:37 +02:00
2 changed files with 11 additions and 1 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";
}; };
@ -37,10 +38,16 @@
}; };
}; };
# Programs
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"];
hardware.opengl.enable = true; hardware.graphics.enable = true;
services.xserver.videoDrivers = ["nvidia"]; services.xserver.videoDrivers = ["nvidia"];
@ -54,4 +61,6 @@
nvidiaBusId = "PCI:1:0:0"; nvidiaBusId = "PCI:1:0:0";
}; };
}; };
system.stateVersion = "24.11";
} }