1{ 2 pkgs, 3 config, 4 lib, 5 ... 6}@inputs: 7 8let 9 cfg = config.custom; 10in 11{ 12 options.custom.workstation = lib.mkEnableOption "custom"; 13 14 config = lib.mkIf cfg.workstation { 15 services.localtimed.enable = true; 16 services.geoclue2.enable = true; 17 }; 18}