Signed-off-by: Hadi <hadi@example.com>
This commit is contained in:
Hadi
2026-07-29 13:14:27 +02:00
parent 835114e5c9
commit 0d901aa10c
70 changed files with 206 additions and 374 deletions
+1 -2
View File
@@ -1,5 +1,4 @@
{config, pkgs, ...}: {
{config, ...}: {
virtualisation.docker.enable = true;
virtualisation.docker.package = pkgs.docker_29;
users.users."${config.var.username}".extraGroups = ["docker"];
}
+7
View File
@@ -5,5 +5,12 @@
withUWSM = true;
};
# Generic Wayland hints (Chromium/Electron and Firefox), applied on every
# Hyprland host regardless of the GPU.
environment.variables = {
NIXOS_OZONE_WL = "1";
MOZ_ENABLE_WAYLAND = "1";
};
security.pam.services.hyprlock = {};
}
-2
View File
@@ -16,11 +16,9 @@ in {
environment.variables = {
LIBVA_DRIVER_NAME = "nvidia";
__GLX_VENDOR_LIBRARY_NAME = "nvidia";
NIXOS_OZONE_WL = "1";
__GL_GSYNC_ALLOWED = "1";
__GL_VRR_ALLOWED = "1";
NVD_BACKEND = "direct";
MOZ_ENABLE_WAYLAND = "1";
};
nixpkgs.config.nvidia.acceptLicense = true;
+7 -3
View File
@@ -13,12 +13,16 @@
}:
stdenv.mkDerivation (finalAttrs: {
pname = "hp-omen-linux-module";
version = "rebase-6.14";
version = "rebase-6.15";
# Upstream only rebases per kernel branch and currently tops out at
# rebase-6.15, while linuxPackages_latest is already on 7.x. If the
# module ever fails to build against a newer kernel, either bump this
# to a fresh upstream branch or fall back to a stable kernel.
src = fetchFromGitHub {
owner = "ranisalt";
repo = "hp-omen-linux-module";
rev = finalAttrs.version;
sha256 = "sha256-2zCm29bdboSjRm/caMjBPGNc0tZXPUnIIYlHxxfhAok=";
rev = "d4b9b5adb84581c3874ca3985dc749c40c3ece67"; # rebase-6.15
sha256 = "sha256-IOXHzcCB0n1InMjeIu3XYEJ4bhbHS3NIlS8/+4XIwkQ=";
};
setSourceRoot = ''
export sourceRoot=$(pwd)/${finalAttrs.src.name}/src