You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
378 B
16 lines
378 B
{ pkgs, ... }:
|
|
{
|
|
hardware.ckb-next = {
|
|
enable = true;
|
|
};
|
|
|
|
systemd.services.ckb-next-resume = {
|
|
description = "Restart ckb-next after hibernation";
|
|
after = [ "suspend.target" ];
|
|
wantedBy = [ "suspend.target" ];
|
|
serviceConfig = {
|
|
Type = "simple";
|
|
ExecStart = "${pkgs.systemd}/bin/systemctl --no-block restart ckb-next.service";
|
|
};
|
|
};
|
|
}
|
|
|