Enable samba
This commit is contained in:
parent
9cede5484c
commit
9d3259431b
1 changed files with 10 additions and 0 deletions
|
@ -382,6 +382,15 @@
|
|||
|
||||
# Enable the OpenSSH daemon.
|
||||
services.openssh.enable = true;
|
||||
services.samba.enable = true;
|
||||
services.samba.shares = {
|
||||
media = {
|
||||
path = "/video-data";
|
||||
browseable = "yes";
|
||||
"read only" = "no";
|
||||
"guest ok" = "yes";
|
||||
};
|
||||
};
|
||||
services.zfs.autoScrub.enable = true;
|
||||
services.zfs.zed.settings = {
|
||||
ZED_EMAIL_ADDR = [ "root" ];
|
||||
|
@ -399,6 +408,7 @@
|
|||
# networking.firewall.allowedUDPPorts = [ ... ];
|
||||
# Or disable the firewall altogether.
|
||||
# networking.firewall.enable = false;
|
||||
networking.firewall.allowPing = true;
|
||||
|
||||
# Copy the NixOS configuration file and link it from the resulting system
|
||||
# (/run/current-system/configuration.nix). This is useful in case you
|
||||
|
|
Loading…
Reference in a new issue