Compare commits
2 commits
3c4da2d439
...
feb7cd1e34
Author | SHA1 | Date | |
---|---|---|---|
|
feb7cd1e34 | ||
|
6e3f665fea |
2 changed files with 11 additions and 1 deletions
|
@ -9,6 +9,7 @@
|
|||
|
||||
home.packages = [
|
||||
pkgs.egl-wayland # For NVIDIA compatibility
|
||||
pkgs.xdg-desktop-portal-hyprland
|
||||
];
|
||||
|
||||
wayland.windowManager.hyprland = {
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
extraGroups = [
|
||||
"wheel"
|
||||
"video"
|
||||
"seat"
|
||||
];
|
||||
group = "gaspard";
|
||||
};
|
||||
|
@ -37,10 +38,16 @@
|
|||
};
|
||||
};
|
||||
|
||||
# Programs
|
||||
environment.systemPackages = [pkgs.git];
|
||||
|
||||
# Services
|
||||
services.seatd.enable = true;
|
||||
|
||||
# NVIDIA
|
||||
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"];
|
||||
|
||||
|
@ -54,4 +61,6 @@
|
|||
nvidiaBusId = "PCI:1:0:0";
|
||||
};
|
||||
};
|
||||
|
||||
system.stateVersion = "24.11";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue