From b8921c9906cecbb637408e44f55fcc9c3c50e8b6 Mon Sep 17 00:00:00 2001 From: victor Date: Sat, 5 Nov 2022 14:27:22 +0100 Subject: [PATCH] add tautulli --- nixos/hosts/hades/default.nix | 5 ++++ nixos/hosts/hades/tautulli/configuration.nix | 26 ++++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 nixos/hosts/hades/tautulli/configuration.nix diff --git a/nixos/hosts/hades/default.nix b/nixos/hosts/hades/default.nix index c0990aa..19a4500 100644 --- a/nixos/hosts/hades/default.nix +++ b/nixos/hosts/hades/default.nix @@ -44,6 +44,11 @@ ip = "192.168.0.105"; mac = "8E:21:7F:88:3A:83"; } + { + hostname = "tautulli"; + ip = "192.168.0.106"; + mac = "BE:30:DB:F8:C6:55"; + } { hostname = "MariaDB"; ip = "192.168.0.109"; diff --git a/nixos/hosts/hades/tautulli/configuration.nix b/nixos/hosts/hades/tautulli/configuration.nix new file mode 100644 index 0000000..1d10ed9 --- /dev/null +++ b/nixos/hosts/hades/tautulli/configuration.nix @@ -0,0 +1,26 @@ +# Edit this configuration file to define what should be installed on +# your system. Help is available in the configuration.nix(5) man page +# and in the NixOS manual (accessible by running ‘nixos-help’). + +{ config, pkgs, ... }: + +{ + imports = [ ]; + + # This value determines the NixOS release from which the default + # settings for stateful data, like file locations and database versions + # on your system were taken. It‘s perfectly fine and recommended to leave + # this value at the release version of the first install of this system. + # Before changing this value read the documentation for this option + # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). + system.stateVersion = "22.11"; # Did you read the comment? + + # Additional packages + environment.systemPackages = with pkgs; [ ]; + + services.tautulli = rec { + enable = true; + port = 8080; + openFirewall = true; + }; +}