diff --git a/machines/mayushii/configuration.nix b/machines/mayushii/configuration.nix index 9b052d2..0bd0ce8 100644 --- a/machines/mayushii/configuration.nix +++ b/machines/mayushii/configuration.nix @@ -25,6 +25,31 @@ qemuPackage = pkgs.qemu_kvm; }; + services.samba = { + enable = true; + securityType = "user"; + extraConfig = '' + interfaces = 192.168.122.1 + bind interfaces only = yes + map to guest = bad user + load printers = no + printing = bsd + disable spoolss = yes + usershare max shares = 0 + acl allow execute always = True + ''; + shares = { + qemu = { + path = "/home/simon/.cache/vm-share"; + browseable = "yes"; + "read only" = "no"; + "guest ok" = "yes"; + "force user" = "simon"; + }; + }; + }; + networking.firewall.trustedInterfaces = [ "virbr0" ]; + services.tor = { enable = true; client.enable = true;