Changed some configs
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ inputs, outputs, pkgs, ... }:
|
||||
{ inputs, outputs, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
@@ -77,18 +77,6 @@
|
||||
];
|
||||
};
|
||||
|
||||
# Setup nfs share
|
||||
services.nfs = {
|
||||
server = {
|
||||
enable = true;
|
||||
exports = ''
|
||||
/export 192.168.100.0/24(rw,fsid=0,no_subtree_check)
|
||||
/export/wrb 192.168.100.0/24(rw,nohide,no_subtree_check)
|
||||
'';
|
||||
};
|
||||
};
|
||||
networking.firewall.allowedTCPPorts = [ 2049 ];
|
||||
|
||||
# Temp keyboard override
|
||||
environment.systemPackages = with pkgs; [
|
||||
via
|
||||
|
@@ -73,30 +73,6 @@
|
||||
];
|
||||
};
|
||||
|
||||
# Create samba share
|
||||
services.samba = {
|
||||
enable = true;
|
||||
securityType = "user";
|
||||
openFirewall = true;
|
||||
settings = {
|
||||
"public" = {
|
||||
"path" = "/home/xeovalyte/Public";
|
||||
"browseable" = "yes";
|
||||
"read only" = "no";
|
||||
"guest ok" = "yes";
|
||||
"create mask" = "0644";
|
||||
"directory mask" = "0755";
|
||||
"force user" = "xeovalyte";
|
||||
"force group" = "xeovalyte";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
services.samba-wsdd = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
};
|
||||
|
||||
networking.firewall = {
|
||||
enable = true;
|
||||
allowedTCPPorts = [ 22 80 443 53 ];
|
||||
|
Reference in New Issue
Block a user