Added Prometheus Exporter to std config; Added Grafana;
This commit is contained in:
12
flake.nix
12
flake.nix
@@ -120,19 +120,17 @@
|
||||
];
|
||||
|
||||
platformModules =
|
||||
let
|
||||
nixosBase = [
|
||||
{ nixpkgs.hostPlatform = system; }
|
||||
./nixos
|
||||
];
|
||||
in
|
||||
if isDarwin then
|
||||
[
|
||||
./darwin
|
||||
inputs.nix-homebrew.darwinModules.nix-homebrew
|
||||
]
|
||||
else
|
||||
nixosBase ++ (if isServer then [ ./nixos/server ] else [ ]);
|
||||
[
|
||||
{ nixpkgs.hostPlatform = system; }
|
||||
./nixos
|
||||
];
|
||||
|
||||
in
|
||||
systemFunc {
|
||||
inherit system;
|
||||
|
||||
Reference in New Issue
Block a user