From c8165d2a72b9e2e2c67c4b1aad40a0c3e256dd4d Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Sat, 17 Oct 2026 10:25:41 +0200 Subject: refactor: use relative paths They work with `gf` in vim. --- nixos/hosts/ev/default.nix | 16 ++++++++-------- nixos/hosts/ev/exporters.nix | 4 ++-- nixos/hosts/ev/qbittorrent.nix | 2 +- 3 files changed, 11 insertions(+), 11 deletions(-) (limited to 'nixos/hosts/ev') diff --git a/nixos/hosts/ev/default.nix b/nixos/hosts/ev/default.nix index a528fe4..dc77416 100644 --- a/nixos/hosts/ev/default.nix +++ b/nixos/hosts/ev/default.nix @@ -6,7 +6,7 @@ let ports = import ./ports.nix; - helpers = import { inherit config lib pkgs; }; + helpers = import ../../helpers.nix { inherit config lib pkgs; }; backupHost = "u518695-sub2@u518695-sub2.your-storagebox.de"; pkgs-unstable = import sources.nixos-unstable {}; in @@ -14,13 +14,13 @@ in _module.args = { inherit pkgs-unstable; }; imports = [ ./hardware-configuration.nix - - - - - - - + ../../profiles/server + ../../shared/monitoring.nix + ../../shared/postgresql.nix + ../../shared/tailscale.nix + ../../shared/basics-physical.nix + ../../shared/vpn.nix + ../../shared/restic-database-backups.nix ./exporters.nix ./home-automation.nix ./kodi.nix diff --git a/nixos/hosts/ev/exporters.nix b/nixos/hosts/ev/exporters.nix index 097e3e5..f22f043 100644 --- a/nixos/hosts/ev/exporters.nix +++ b/nixos/hosts/ev/exporters.nix @@ -1,7 +1,7 @@ { config, lib, pkgs, ... }: let - helpers = import { inherit config lib pkgs; }; + helpers = import ../../shared/postgres-collectors.nix { inherit config lib pkgs; }; cfg = config.exporters; in { @@ -12,7 +12,7 @@ in }; imports = [ - + ../../shared/prometheus-sql-exporter/service.nix ]; config = { diff --git a/nixos/hosts/ev/qbittorrent.nix b/nixos/hosts/ev/qbittorrent.nix index a666f55..6216eac 100644 --- a/nixos/hosts/ev/qbittorrent.nix +++ b/nixos/hosts/ev/qbittorrent.nix @@ -1,7 +1,7 @@ { config, lib, pkgs, ... }: let - helpers = import { inherit config lib pkgs; }; + helpers = import ../../helpers.nix { inherit config lib pkgs; }; cfg = config.qbittorrent; in { -- cgit v1.3.1