From f61e0fe45e4f237828df01ee3bacf4bae78fdcf0 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Wed, 6 Apr 2022 12:49:53 -0700 Subject: refactor transmission and metrics-exporter --- hosts/profiles/nas.nix | 8 ++------ hosts/profiles/server.nix | 5 ----- 2 files changed, 2 insertions(+), 11 deletions(-) delete mode 100644 hosts/profiles/server.nix (limited to 'hosts/profiles') diff --git a/hosts/profiles/nas.nix b/hosts/profiles/nas.nix index 9ac834f..5ec18d0 100644 --- a/hosts/profiles/nas.nix +++ b/hosts/profiles/nas.nix @@ -1,10 +1,4 @@ { config, pkgs, lib, ... }: { - imports = [ - # other profiles - ./server.nix - ../common/server/transmission.nix - ]; - users.groups.nas.gid = 5000; users.users.nas = { uid = 5000; @@ -30,6 +24,8 @@ }; rclone = { enable = true; }; traefik = { enable = true; }; + transmission = { enable = true; }; + metrics-exporter = { enable = true; }; }; services.restic.backups = { diff --git a/hosts/profiles/server.nix b/hosts/profiles/server.nix deleted file mode 100644 index 0029d03..0000000 --- a/hosts/profiles/server.nix +++ /dev/null @@ -1,5 +0,0 @@ -{ config, pkgs, lib, ... }: - -{ - imports = [ ../common/server/monitoring.nix ]; -} -- cgit 1.4.1