Skip to content

Commit

Permalink
fix: quickemu samba
Browse files Browse the repository at this point in the history
  • Loading branch information
zeorin committed Apr 23, 2024
1 parent 7bdf1eb commit e10c4c0
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 deletions.
4 changes: 2 additions & 2 deletions home-manager/home.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5793,8 +5793,8 @@ in {
netflix
tor-browser-bundle-bin
virt-manager
qemu
quickemu
qemu_full
(quickemu.override { qemu = qemu_full; })
slack
discord
tdesktop
Expand Down
22 changes: 22 additions & 0 deletions nixos/common/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -539,6 +539,28 @@
};
};

services.samba-wsdd.enable = true;
services.samba-wsdd.openFirewall = true;
services.samba = {
enable = true;
package = pkgs.sambaFull;
openFirewall = true;
securityType = "user";
extraConfig = ''
workgroup = WORKGROUP
server string = smbnix
netbios name = smbnix
security = user
#use sendfile = yes
#max protocol = smb2
# note: localhost is the ipv6 localhost ::1
hosts allow = 192.168.0. 127.0.0.1 localhost
hosts deny = 0.0.0.0/0
guest account = nobody
map to guest = bad user
'';
};

services.tailscale = {
enable = true;
openFirewall = true;
Expand Down

0 comments on commit e10c4c0

Please sign in to comment.