diff options
| author | Martin Fischer <martin@push-f.com> | 2026-10-17 10:25:41 +0200 |
|---|---|---|
| committer | Martin Fischer <martin@push-f.com> | 2026-10-17 11:55:49 +0200 |
| commit | c8165d2a72b9e2e2c67c4b1aad40a0c3e256dd4d (patch) | |
| tree | eb0f6fc5d3463c82410dd703a4fd45a979ccfa1f /nixos/hosts/ev | |
| parent | b2f4c85a6c1afb74b257a14dcce9236ae021fe4a (diff) | |
refactor: use relative paths
They work with `gf` in vim.
Diffstat (limited to 'nixos/hosts/ev')
| -rw-r--r-- | nixos/hosts/ev/default.nix | 16 | ||||
| -rw-r--r-- | nixos/hosts/ev/exporters.nix | 4 | ||||
| -rw-r--r-- | nixos/hosts/ev/qbittorrent.nix | 2 |
3 files changed, 11 insertions, 11 deletions
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 <top/helpers.nix> { 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 - <top/profiles/server> - <top/shared/monitoring.nix> - <top/shared/postgresql.nix> - <top/shared/tailscale.nix> - <top/shared/basics-physical.nix> - <top/shared/vpn.nix> - <top/shared/restic-database-backups.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 <top/shared/postgres-collectors.nix> { inherit config lib pkgs; }; + helpers = import ../../shared/postgres-collectors.nix { inherit config lib pkgs; }; cfg = config.exporters; in { @@ -12,7 +12,7 @@ in }; imports = [ - <top/shared/prometheus-sql-exporter/service.nix> + ../../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 <top/helpers.nix> { inherit config lib pkgs; }; + helpers = import ../../helpers.nix { inherit config lib pkgs; }; cfg = config.qbittorrent; in { |
