ljdsalkjdsalkj

This commit is contained in:
2025-06-15 04:21:13 +02:00
parent e54fe19d91
commit 491e6f1199
5 changed files with 11 additions and 13 deletions

View File

@@ -1,7 +1,8 @@
{ pkgs, lib, options, ... }: lib.mkMerge [
# assumes common-gpu-amd from nixos-hardware is also added
# TODO: should we move it from flake.nix to here?
{ inputs, pkgs, lib, options, ... }:
lib.mkMerge [
# https://github.com/NixOS/nixos-hardware/blob/master/common/gpu/amd/default.nix
inputs.nixos-hardware.nixosModules.common-gpu-amd
(lib.mkIf (lib.versionOlder (lib.versions.majorMinor lib.version) "24.11") {
hardware.opengl.enable = true;
@@ -60,4 +61,5 @@
systemd.services.lactd.enable = true;
systemd.services.lactd.wantedBy = [ "multi-user.target" ]; # add this if you want the unit to auto start at boot time
}
]