fmt
This commit is contained in:
@@ -3,10 +3,12 @@
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
}:
|
||||
let
|
||||
inherit (lib) mkIf mkEnableOption;
|
||||
cfg = config.nixos.programs.lact;
|
||||
in {
|
||||
in
|
||||
{
|
||||
options = {
|
||||
nixos.programs.lact.enable = mkEnableOption "Enables lact for GPU monitoring and tweaking";
|
||||
};
|
||||
@@ -18,8 +20,8 @@ in {
|
||||
systemd.services.lact = {
|
||||
enable = cfg.enable;
|
||||
description = "GPU Control Daemon";
|
||||
after = ["multi-user.target"];
|
||||
wantedBy = ["multi-user.target"];
|
||||
after = [ "multi-user.target" ];
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
serviceConfig = {
|
||||
ExecStart = "${pkgs.lact}/bin/lact daemon";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user