system76 scheduler

This commit is contained in:
atagen 2023-01-12 10:12:50 +11:00
parent 2faec8579a
commit ec067ee460
10 changed files with 218 additions and 105 deletions

View file

@ -2,6 +2,12 @@
{
nixpkgs.overlays = [
(self: super: {
kwin-system76-scheduler-integration = pkgs.libsForQt5.callPackage ../system/syspkgs/kwin-system76-scheduler-integration.nix {};
})
];
home.username = "bolt";
home.homeDirectory = "/home/bolt";
@ -13,4 +19,23 @@
nicotine-plus
];
systemd.user.startServices = true;
systemd.user.services."com.system76.Scheduler.dbusproxy" = {
Unit = {
Description = "the system76 process scheduler kwin dbus proxy";
# Aliases = [ "com.system76.Scheduler.dbusproxy.service" ];
Requires = [ "dbus.service" ];
};
Install = {
WantedBy = [ "graphical-session.target" "default.target" ];
};
Service = {
ExecStart = ''${pkgs.kwin-system76-scheduler-integration}/bin/kwin-system76-scheduler-dbus-proxy.sh'';
};
};
}