From 6144bd8786c557173ca4df76dc0f364068aabb67 Mon Sep 17 00:00:00 2001 From: Leon Vatthauer Date: Tue, 25 Jun 2024 12:59:25 +0200 Subject: [PATCH] remove printing and video --- dafoe/configuration.nix | 6 ------ dafoe/services/acme.nix | 1 - dafoe/services/default.nix | 1 - dafoe/services/nginx.nix | 9 --------- dafoe/services/printing.nix | 20 -------------------- 5 files changed, 37 deletions(-) delete mode 100644 dafoe/services/printing.nix diff --git a/dafoe/configuration.nix b/dafoe/configuration.nix index fb969dc..8f667d9 100644 --- a/dafoe/configuration.nix +++ b/dafoe/configuration.nix @@ -89,12 +89,6 @@ }; }; - nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ - "plexmediaserver" - ]; - - services.jellyfin.enable = true; - system.stateVersion = "23.11"; # Did you read the comment? } diff --git a/dafoe/services/acme.nix b/dafoe/services/acme.nix index 4f1d742..fd03682 100644 --- a/dafoe/services/acme.nix +++ b/dafoe/services/acme.nix @@ -3,7 +3,6 @@ security.acme.certs = { "git.vatthauer.xyz".email = "leonvatthauer@outlook.com"; "vaultwarden.vatthauer.xyz".email = "leonvatthauer@outlook.com"; - "video.vatthauer.xyz".email = "leonvatthauer@outlook.com"; "files.vatthauer.xyz".email = "leonvatthauer@outlook.com"; "www.vatthauer.xyz".email = "leonvatthauer@outlook.com"; "cloud.vatthauer.xyz".email = "leonvatthauer@outlook.com"; diff --git a/dafoe/services/default.nix b/dafoe/services/default.nix index f1e0166..036277f 100644 --- a/dafoe/services/default.nix +++ b/dafoe/services/default.nix @@ -5,7 +5,6 @@ ./ddns.nix ./nginx.nix ./forgejo.nix - #./printing.nix ./restic.nix ./ssh.nix ./vaultwarden.nix diff --git a/dafoe/services/nginx.nix b/dafoe/services/nginx.nix index 9be086c..0721b0e 100644 --- a/dafoe/services/nginx.nix +++ b/dafoe/services/nginx.nix @@ -24,13 +24,6 @@ }; }; - services.nginx.virtualHosts."video.vatthauer.xyz" = { - enableACME = true; - forceSSL = false; - locations."/" = { - proxyPass = "http://localhost:8096"; - }; - }; services.nginx.virtualHosts."www.vatthauer.xyz" = { serverAliases = [ "vatthauer.xyz" ]; forceSSL = true; @@ -48,7 +41,5 @@ services.nginx.virtualHosts."cloud.vatthauer.xyz" = { forceSSL = true; enableACME = true; - #locations."/".proxyPass = "http://localhost:8080"; - # nextcloud does location setup itself }; } diff --git a/dafoe/services/printing.nix b/dafoe/services/printing.nix deleted file mode 100644 index 321e5b2..0000000 --- a/dafoe/services/printing.nix +++ /dev/null @@ -1,20 +0,0 @@ -{ pkgs, ... }: -{ - # Enable CUPS to print documents. - services.avahi = { - enable = true; - publish.enable = true; - publish.userServices = true; - }; - services.printing = { - enable = true; - drivers = [ pkgs.splix ]; - browsing = true; - listenAddresses = [ "*:631" ]; - allowFrom = [ "all" ]; - defaultShared = true; - extraConf = '' - BrowseLocalProtocols all - ''; - }; -}