From c479782a7894c9085833af094bb784c22b1a0176 Mon Sep 17 00:00:00 2001 From: harry Date: Wed, 17 Jul 2024 19:52:30 +0200 Subject: [PATCH] im done? --- features/authentik.nix | 1 - features/containers.nix | 11 +++++++++++ features/homelab-dashboard.nix | 10 ++++++---- features/nextcloud.nix | 0 features/samba-shares.nix | 2 +- server-configuration.nix | 2 +- 6 files changed, 19 insertions(+), 7 deletions(-) create mode 100644 features/nextcloud.nix diff --git a/features/authentik.nix b/features/authentik.nix index 3268bfd..249b04a 100644 --- a/features/authentik.nix +++ b/features/authentik.nix @@ -10,7 +10,6 @@ let in { imports = [ authentik-nix.nixosModules.default ]; - sops.secrets."authentik" = { sopsFile = ../secrets/authentik.env; format = "dotenv"; diff --git a/features/containers.nix b/features/containers.nix index 7ed4a15..78c1292 100644 --- a/features/containers.nix +++ b/features/containers.nix @@ -44,6 +44,17 @@ in "TZ" = "Europe/Paris"; }; }; + freshrss = { + image = "lscr.io/linuxserver/freshrss:latest"; + volumes = [ "/srv/freshrss/config:/config" ]; + ports = [ "8888:80" ]; + restart = "unless-stopped"; + environment = { + "PUID" = "1000"; + "GUID" = "1000"; + "TZ" = "Europe/Paris"; + }; + }; }; }; }; diff --git a/features/homelab-dashboard.nix b/features/homelab-dashboard.nix index d53f307..aa7f48c 100644 --- a/features/homelab-dashboard.nix +++ b/features/homelab-dashboard.nix @@ -194,10 +194,12 @@ in icon = "bazarr"; description = "Vérifie les sous titres des films/séries."; href = "http://${ip}:6767"; - widget = { - type = "bazarr"; - key = config.sops.secrets.bazarr; - }; + /* + widget = { + type = "bazarr"; + key = config.sops.secrets.bazarr; + }; + */ }; } { diff --git a/features/nextcloud.nix b/features/nextcloud.nix new file mode 100644 index 0000000..e69de29 diff --git a/features/samba-shares.nix b/features/samba-shares.nix index 33c0008..d76b021 100644 --- a/features/samba-shares.nix +++ b/features/samba-shares.nix @@ -13,8 +13,8 @@ in }; }; }; - config = { + config = { services.samba = { enable = true; securityType = "user"; diff --git a/server-configuration.nix b/server-configuration.nix index 4757b4a..4d4fc85 100644 --- a/server-configuration.nix +++ b/server-configuration.nix @@ -16,7 +16,7 @@ in ./features/caddy.nix ./features/calibre-web.nix ./features/containers.nix - ./features/freshrss.nix + # ./features/freshrss.nix using the docker container instead ./features/grafana.nix ./features/homelab-dashboard.nix ./features/samba-shares.nix