aboutsummaryrefslogtreecommitdiff
path: root/nixos/hosts/tente
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2026-10-17 10:25:41 +0200
committerMartin Fischer <martin@push-f.com>2026-10-17 11:55:49 +0200
commitc8165d2a72b9e2e2c67c4b1aad40a0c3e256dd4d (patch)
treeeb0f6fc5d3463c82410dd703a4fd45a979ccfa1f /nixos/hosts/tente
parentb2f4c85a6c1afb74b257a14dcce9236ae021fe4a (diff)
refactor: use relative paths
They work with `gf` in vim.
Diffstat (limited to 'nixos/hosts/tente')
-rw-r--r--nixos/hosts/tente/default.nix12
-rw-r--r--nixos/hosts/tente/exporters.nix6
-rw-r--r--nixos/hosts/tente/git-web.nix2
-rw-r--r--nixos/hosts/tente/grafana.nix2
-rw-r--r--nixos/hosts/tente/web-personal.nix2
5 files changed, 12 insertions, 12 deletions
diff --git a/nixos/hosts/tente/default.nix b/nixos/hosts/tente/default.nix
index 04a2c98..085924f 100644
--- a/nixos/hosts/tente/default.nix
+++ b/nixos/hosts/tente/default.nix
@@ -9,18 +9,18 @@ let
acmeEmail = "martin@push-f.com";
backupHost = "u518695-sub1@u518695-sub1.your-storagebox.de";
ports = import ./ports.nix;
- helpers = import <top/helpers.nix> { inherit config lib pkgs; };
+ helpers = import ../../helpers.nix { inherit config lib pkgs; };
gitoliteDataDir = "/srv/gitolite";
reposDir = "${gitoliteDataDir}/repositories";
in
{
imports = [
./hardware-configuration.nix
- <top/profiles/server>
- <top/shared/postgresql.nix>
- <top/shared/tailscale.nix>
- <top/shared/monitoring.nix>
- <top/shared/restic-database-backups.nix>
+ ../../profiles/server
+ ../../shared/postgresql.nix
+ ../../shared/tailscale.nix
+ ../../shared/monitoring.nix
+ ../../shared/restic-database-backups.nix
./web-personal.nix
./git-web.nix
./gitolite.nix
diff --git a/nixos/hosts/tente/exporters.nix b/nixos/hosts/tente/exporters.nix
index 3a587e0..f146567 100644
--- a/nixos/hosts/tente/exporters.nix
+++ b/nixos/hosts/tente/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
{
@@ -15,8 +15,8 @@ in
};
imports = [
- <top/shared/prometheus-sql-exporter/service.nix>
- <top/shared/prometheus-storagebox-exporter/service.nix>
+ ../../shared/prometheus-sql-exporter/service.nix
+ ../../shared/prometheus-storagebox-exporter/service.nix
];
config = {
diff --git a/nixos/hosts/tente/git-web.nix b/nixos/hosts/tente/git-web.nix
index c2fc709..9271697 100644
--- a/nixos/hosts/tente/git-web.nix
+++ b/nixos/hosts/tente/git-web.nix
@@ -2,7 +2,7 @@
let
cfg = config.gitWeb;
- helpers = import <top/helpers.nix> { inherit config lib pkgs; };
+ helpers = import ../../helpers.nix { inherit config lib pkgs; };
in
{
options.gitWeb = {
diff --git a/nixos/hosts/tente/grafana.nix b/nixos/hosts/tente/grafana.nix
index 1a1da1f..3d7812c 100644
--- a/nixos/hosts/tente/grafana.nix
+++ b/nixos/hosts/tente/grafana.nix
@@ -3,7 +3,7 @@
let
cfg = config.grafana;
ports = import ./ports.nix;
- evPorts = import <top/hosts/ev/ports.nix>;
+ evPorts = import ../ev/ports.nix;
in
{
options.grafana = {
diff --git a/nixos/hosts/tente/web-personal.nix b/nixos/hosts/tente/web-personal.nix
index d41356f..5bc6362 100644
--- a/nixos/hosts/tente/web-personal.nix
+++ b/nixos/hosts/tente/web-personal.nix
@@ -2,7 +2,7 @@
let
cfg = config.web-personal;
- helpers = import <top/helpers.nix> { inherit config lib pkgs; };
+ helpers = import ../../helpers.nix { inherit config lib pkgs; };
in
{
options.web-personal = {