users/ryan/modules/ubersicht/default.nix

cabf188ae487120d4b9ac1fe21fff45403a787b4 · 408 B · 20 lines raw

1 { config, lib, pkgs, ... }:
2
3 with lib;
4
5 let
6 cfg = config.ryan.ubersicht;
7 in
8 {
9 options.ryan.ubersicht.enable = mkEnableOption "ubersicht";
10
11 config = mkIf cfg.enable {
12 launchd.agents.ubersicht = {
13 enable = true;
14 config = {
15 ProgramArguments = [ "/usr/bin/open" "-a" "Übersicht" ];
16 RunAtLoad = true;
17 };
18 };
19 };
20 }