diff --git a/logical/frumar.nix b/logical/frumar.nix index 1618dca..f18cbce 100644 --- a/logical/frumar.nix +++ b/logical/frumar.nix @@ -34,7 +34,7 @@ "--web.enable-admin-api" ]; # victoriametrics - extraConfig.remote_write = [ { url = "http://127.0.0.1:8428/api/v1/write"; } ]; + remoteWrite = [ { url = "http://127.0.0.1:8428/api/v1/write"; } ]; scrapeConfigs = [ { job_name = "smartmeter"; # prometheus doesn't support mdns :thinking_face: diff --git a/roles/default.nix b/roles/default.nix index b16bd5d..292cd6b 100644 --- a/roles/default.nix +++ b/roles/default.nix @@ -12,7 +12,8 @@ in ../deploy/keys.nix ../services ]; - networking.hostName = secrets.hostnames.${machine}; + networking.domain = "yori.cc"; + networking.hostName = machine; time.timeZone = "Europe/Amsterdam"; users.mutableUsers = false; users.users.root = { diff --git a/roles/graphical.nix b/roles/graphical.nix index c7ab4a4..86e30b6 100644 --- a/roles/graphical.nix +++ b/roles/graphical.nix @@ -24,7 +24,7 @@ in { config, lib, pkgs, ... }: { ''; fonts = { - enableFontDir = true; + fontDir.enable = true; enableGhostscriptFonts = true; fonts = with pkgs; [ corefonts # Micrsoft free fonts