nixcfg/homeManagerModules/services/gammastep/default.nix
Aly Raffauf aea06d5eda
Some checks are pending
git-mirror / gitlab-sync (push) Waiting to run
nix-build / default-build (push) Waiting to run
nix-build / fallarbor-build (push) Waiting to run
nix-build / lavaridge-build (push) Waiting to run
nix-build / mauville-build (push) Waiting to run
nix-build / petalburg-build (push) Waiting to run
nix-build / rustboro-build (push) Waiting to run
nix-check / fmt-check (push) Waiting to run
nix-check / eval-check (push) Waiting to run
home: fix desktop services (#88)
* waybar: increase to proper height 34px

* sway: restart sway-session-target at launch

* home/services: bind desktop services to sway and hyprland
2024-08-11 23:43:48 -04:00

22 lines
507 B
Nix

{
config,
lib,
...
}: let
cfg = config.ar.home;
in {
config = lib.mkIf cfg.services.gammastep.enable {
services.gammastep = {
enable = true;
latitude = lib.mkDefault "33.74";
longitude = lib.mkDefault "-84.38";
};
systemd.user.services.gammastep = {
Install.WantedBy = lib.mkForce ["hyprland-session.target" "sway-session.target"];
Service.Restart = lib.mkForce "no";
Unit.BindsTo = ["hyprland-session.target" "sway-session.target"];
};
};
}