Changed some configs

This commit is contained in:
2025-06-22 10:09:41 +02:00
parent f475b7b4ab
commit 79d07a5bfd
5 changed files with 55 additions and 47 deletions

View File

@@ -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

View File

@@ -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 ];