More server prep
This commit is contained in:
parent
829459865c
commit
5f6e8ef364
17 changed files with 103 additions and 124 deletions
|
@ -1,8 +1,8 @@
|
|||
{ config, ... }:
|
||||
{ config, lib, ... }:
|
||||
{
|
||||
services = {
|
||||
services = lib.mkIf config.system.server.enable {
|
||||
samba = {
|
||||
enable = config.system.server.enable;
|
||||
enable = true;
|
||||
securityType = "user";
|
||||
openFirewall = true;
|
||||
settings = {
|
||||
|
@ -20,7 +20,7 @@
|
|||
|
||||
# Advertise to Windows
|
||||
samba-wsdd = {
|
||||
enable = config.services.samba.enable;
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue