From e433c3c9293f0e6d3b337cfb6ff01d3a69dc7124 Mon Sep 17 00:00:00 2001 From: Bartosz Stebel Date: Fri, 26 Jul 2024 22:02:28 +0200 Subject: [PATCH] cluster/machines/dcr03s16: tapes and tape accessories Change-Id: Ib93fd85d0b09177d6e29bc3b4d68b999a1db3eaa Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1994 Reviewed-by: q3k --- cluster/machines/dcr03s16.hswaw.net.nix | 6 ++++++ cluster/machines/modules/base.nix | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/cluster/machines/dcr03s16.hswaw.net.nix b/cluster/machines/dcr03s16.hswaw.net.nix index f68838c9..72116306 100644 --- a/cluster/machines/dcr03s16.hswaw.net.nix +++ b/cluster/machines/dcr03s16.hswaw.net.nix @@ -33,6 +33,12 @@ rec { ]; }; + # Tape stuff + environment.systemPackages = with pkgs; [ + lsscsi mt-st mtx mbuffer sg3_utils + ]; + boot.kernelModules = ["sg"]; + hscloud.base = { mgmtIf = "enp5s0"; diff --git a/cluster/machines/modules/base.nix b/cluster/machines/modules/base.nix index 2a0a7ab2..1eeda5a3 100644 --- a/cluster/machines/modules/base.nix +++ b/cluster/machines/modules/base.nix @@ -83,7 +83,7 @@ in { environment.systemPackages = with pkgs; [ wget vim htop tcpdump screen tmux smartmontools pciutils lm_sensors ipmitool - rxvt_unicode.terminfo + rxvt_unicode.terminfo pv ]; programs.mtr.enable = true;