diff --git a/modules/hardware/default.nix b/modules/hardware/default.nix index c6ebe66..2c2b12f 100644 --- a/modules/hardware/default.nix +++ b/modules/hardware/default.nix @@ -2,7 +2,8 @@ imports = [ ./bluetooth.nix ./fwupd.nix - ./gpu.nix + ./gpu-backend.nix + ./gpu-frontend.nix ./print.nix ./scan.nix #./trackpoint.nix diff --git a/modules/hardware/gpu.nix b/modules/hardware/gpu-backend.nix similarity index 100% rename from modules/hardware/gpu.nix rename to modules/hardware/gpu-backend.nix diff --git a/modules/hardware/gpu-frontend.nix b/modules/hardware/gpu-frontend.nix new file mode 100644 index 0000000..fd59eaa --- /dev/null +++ b/modules/hardware/gpu-frontend.nix @@ -0,0 +1,8 @@ +{pkgs, ...}: { + environment.systemPackages = [ pkgs.lact ]; + + systemd = { + packages = [ pkgs.lact ]; + services.lactd.wantedBy = ["multi-user.target"]; + }; +}