erstelle exports ordner

This commit is contained in:
ahtlon
2024-10-26 19:08:14 +02:00
parent 98a79d708a
commit 1201f0fc53
3 changed files with 22 additions and 0 deletions

1
.gitignore vendored
View File

@@ -3,3 +3,4 @@
*.log *.log
result result
*.qcow2 *.qcow2
.direnv/

View File

@@ -7,6 +7,7 @@ in
imports = imports =
[ # Include the results of the hardware scan. [ # Include the results of the hardware scan.
../modules/malobeo_user.nix ../modules/malobeo_user.nix
./file_server.nix
]; ];
sops.defaultSopsFile = ./secrets.yaml; sops.defaultSopsFile = ./secrets.yaml;

View File

@@ -0,0 +1,20 @@
{config, pkgs, ... }:
{
#automount mit udisks2
#siehe udevadm monitor
#bash-script?
#user-oder root mount
#systemd-automount villeicht
systemd.tmpfiles.rules = [ "d /exports 0755 malobeo malobeo -" ];
services.nfs.server = {
enable = true;
exports = ''
'';
};
networking.firewall = {
allowedTCPPorts = [];
allowedUDPPorts = [];
};
}