summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/share/gum.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2022-09-23 23:01:58 +0200
committermakefu <github@syntax-fehler.de>2022-09-23 23:01:58 +0200
commitf66a4cb237d29ae152ebb601b62bb6c9e29e4031 (patch)
treeaf2314f695c4d08e26240d1e04accb8965a46154 /makefu/2configs/share/gum.nix
parent0c334ea99cf984920a442a27e33d000f7ac9c2d4 (diff)
ma share: proxy hetzner via gum
Diffstat (limited to 'makefu/2configs/share/gum.nix')
-rw-r--r--makefu/2configs/share/gum.nix9
1 files changed, 2 insertions, 7 deletions
diff --git a/makefu/2configs/share/gum.nix b/makefu/2configs/share/gum.nix
index fd81f28ca..9647e0a6c 100644
--- a/makefu/2configs/share/gum.nix
+++ b/makefu/2configs/share/gum.nix
@@ -1,6 +1,5 @@
{ config, lib, pkgs, ... }:
-with import <stockholm/lib>;
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";