ljdsalkjdsalkj
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user