summary refs log tree commit diff
path: root/nixos/modules/services/monitoring/graphite.nix
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2014-11-02 12:40:00 +0100
committerPeter Simons <simons@cryp.to>2014-11-02 12:40:00 +0100
commit415f41bf6888e32f9359c5e32f59c40855bf74f0 (patch)
tree71f8b51857722e3fc77f5a35962b4796e041e35a /nixos/modules/services/monitoring/graphite.nix
parent96a7e65c370733e74132836479711948c6824697 (diff)
downloadnixpkgs-415f41bf6888e32f9359c5e32f59c40855bf74f0.tar
nixpkgs-415f41bf6888e32f9359c5e32f59c40855bf74f0.tar.gz
nixpkgs-415f41bf6888e32f9359c5e32f59c40855bf74f0.tar.bz2
nixpkgs-415f41bf6888e32f9359c5e32f59c40855bf74f0.tar.lz
nixpkgs-415f41bf6888e32f9359c5e32f59c40855bf74f0.tar.xz
nixpkgs-415f41bf6888e32f9359c5e32f59c40855bf74f0.tar.zst
nixpkgs-415f41bf6888e32f9359c5e32f59c40855bf74f0.zip
nixos/modules/services/monitoring/graphite.nix: strip trailing whitespace
Diffstat (limited to 'nixos/modules/services/monitoring/graphite.nix')
-rw-r--r--nixos/modules/services/monitoring/graphite.nix12
1 files changed, 6 insertions, 6 deletions
diff --git a/nixos/modules/services/monitoring/graphite.nix b/nixos/modules/services/monitoring/graphite.nix
index ca3ecb00da4..bc716957e3f 100644
--- a/nixos/modules/services/monitoring/graphite.nix
+++ b/nixos/modules/services/monitoring/graphite.nix
@@ -306,7 +306,7 @@ in {
         example = literalExample ''
           {
             GRAPHITE_USERNAME = "user";
-            GRAPHITE_PASSWORD = "pass"; 
+            GRAPHITE_PASSWORD = "pass";
           }
         '';
       };
@@ -344,7 +344,7 @@ in {
               name: Test
         '';
         example = literalExample ''
-          pushbullet_key: pushbullet_api_key 
+          pushbullet_key: pushbullet_api_key
           alerts:
             - target: stats.seatgeek.app.deal_quality.venue_info_cache.hit
               warning: .5
@@ -456,7 +456,7 @@ in {
       environment.systemPackages = [ pkgs.python27Packages.graphite_web ];
     })
 
-    (mkIf cfg.api.enable { 
+    (mkIf cfg.api.enable {
       systemd.services.graphiteApi = {
         description = "Graphite Api Interface";
         wantedBy = [ "multi-user.target" ];
@@ -472,7 +472,7 @@ in {
           ExecStart = ''
             ${pkgs.python27Packages.waitress}/bin/waitress-serve \
             --host=${cfg.api.host} --port=${toString cfg.api.port} \
-            graphite_api.app:app 
+            graphite_api.app:app
           '';
           User = "graphite";
           Group = "graphite";
@@ -501,7 +501,7 @@ in {
           ExecStart = "${pkgs.seyren}/bin/seyren -httpPort ${toString cfg.seyren.port}";
           WorkingDirectory = dataDir;
           User = "graphite";
-          Group = "graphite"; 
+          Group = "graphite";
         };
         preStart = ''
           if ! test -e ${dataDir}/db-created; then
@@ -526,7 +526,7 @@ in {
         serviceConfig = {
           ExecStart = "${pkgs.pythonPackages.graphite_pager}/bin/graphite-pager --config ${pagerConfig}";
           User = "graphite";
-          Group = "graphite"; 
+          Group = "graphite";
         };
       };