From f66a4cb237d29ae152ebb601b62bb6c9e29e4031 Mon Sep 17 00:00:00 2001 From: makefu Date: Fri, 23 Sep 2022 23:01:58 +0200 Subject: ma share: proxy hetzner via gum --- makefu/2configs/share/gum.nix | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'makefu/2configs/share/gum.nix') diff --git a/makefu/2configs/share/gum.nix b/makefu/2configs/share/gum.nix index fd81f28c..9647e0a6 100644 --- a/makefu/2configs/share/gum.nix +++ b/makefu/2configs/share/gum.nix @@ -1,6 +1,5 @@ { config, lib, pkgs, ... }: -with import ; let hostname = config.krebs.build.host.name; in { @@ -11,15 +10,11 @@ in { # home = "/var/empty"; # }; environment.systemPackages = [ pkgs.samba ]; - users.users.download = { - uid = genid "download"; - isNormalUser = true; - }; services.samba = { enable = true; shares = { - download = { - path = "/var/download"; + cloud-proxy = { + path = "/media/cloud"; "read only" = "no"; browseable = "yes"; "guest ok" = "no"; -- cgit v1.2.3