nix/home/bolt.nix
2023-01-22 19:02:56 +11:00

40 lines
906 B
Nix
Executable file

{ config, pkgs, ... }:
{
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";
home.packages = with pkgs; [
cmus
zellij
xonotic
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'';
};
};
}