From 058135ddc006597c49ba74e050198cbe3f454ba8 Mon Sep 17 00:00:00 2001 From: moons-14 Date: Thu, 11 Dec 2025 18:52:04 +0900 Subject: [PATCH] add grafana vm --- flake.nix | 6 ++++++ hosts/grafana/default.nix | 12 ++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 hosts/grafana/default.nix diff --git a/flake.nix b/flake.nix index 587ef60..1b46dae 100644 --- a/flake.nix +++ b/flake.nix @@ -71,6 +71,12 @@ profile = "laptop"; extraModules = [ ]; }; + grafana = mkSystem { + host = "grafana"; + system = "x86_64-linux"; + profile = "cli-server"; + extraModules = [ ]; + }; dev-1 = mkSystem { host = "dev-1"; system = "x86_64-linux"; diff --git a/hosts/grafana/default.nix b/hosts/grafana/default.nix new file mode 100644 index 0000000..1ad056a --- /dev/null +++ b/hosts/grafana/default.nix @@ -0,0 +1,12 @@ +# Edit this configuration file to define what should be installed on +# your system. Help is available in the configuration.nix(5) man page +# and in the NixOS manual (accessible by running ‘nixos-help’). + +{ ... }: + +{ + imports = + [ + ./hardware-configuration.nix + ]; +}