diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2015-09-24 11:42:32 +0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2015-09-24 11:50:58 +0200 |
commit | 89e983786a4e2cf6dd238af4df6da373cc01e62b (patch) | |
tree | 857ecb8eab59fe1855b1fb311e6e1e9ec8303bdc /nixos/modules/services/monitoring/grafana.nix | |
parent | e73b19ae4e984f58cebe4dd4f82cda622da552ab (diff) | |
download | nixpkgs-89e983786a4e2cf6dd238af4df6da373cc01e62b.tar nixpkgs-89e983786a4e2cf6dd238af4df6da373cc01e62b.tar.gz nixpkgs-89e983786a4e2cf6dd238af4df6da373cc01e62b.tar.bz2 nixpkgs-89e983786a4e2cf6dd238af4df6da373cc01e62b.tar.lz nixpkgs-89e983786a4e2cf6dd238af4df6da373cc01e62b.tar.xz nixpkgs-89e983786a4e2cf6dd238af4df6da373cc01e62b.tar.zst nixpkgs-89e983786a4e2cf6dd238af4df6da373cc01e62b.zip |
Manual: Remove store path references
Diffstat (limited to 'nixos/modules/services/monitoring/grafana.nix')
-rw-r--r-- | nixos/modules/services/monitoring/grafana.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/nixos/modules/services/monitoring/grafana.nix b/nixos/modules/services/monitoring/grafana.nix index 0393d01054d..fa653565a67 100644 --- a/nixos/modules/services/monitoring/grafana.nix +++ b/nixos/modules/services/monitoring/grafana.nix @@ -200,7 +200,6 @@ in { staticRootPath = mkOption { description = "Root path for static assets."; - default = "${cfg.package.out}/share/go/src/github.com/grafana/grafana/public"; type = types.str; }; @@ -311,7 +310,7 @@ in { config = mkIf cfg.enable { warnings = [ - "Grafana passwords will be stored as plaintext in nix store!" + "Grafana passwords will be stored as plaintext in the Nix store!" ]; systemd.services.grafana = { @@ -331,5 +330,8 @@ in { home = cfg.dataDir; createHome = true; }; + + services.grafana.staticRootPath = mkDefault "${cfg.package.out}/share/go/src/github.com/grafana/grafana/public"; + }; } |