moved over a load more modules

This commit is contained in:
Chris Kruining 2025-07-23 23:56:56 +02:00 committed by Chris Kruining
parent a9a4777168
commit 423e99886d
No known key found for this signature in database
GPG key ID: EB894A3560CCCAD2
34 changed files with 226 additions and 578 deletions

View file

@ -1,22 +0,0 @@
{ config, lib, ... }:
let
inherit (lib) mkIf mkEnableOption;
cfg = config.modules.networking.nfs;
in
{
options.modules.networking.nfs = {
enable = mkEnableOption "Enable NFS";
};
config = mkIf cfg.enable {
networking.firewall.allowedTCPPorts = [ 2049 ];
services.nfs.server = {
enable = true;
exports = ''
/var/media manwe(rw,sync,no_subtree_check,fsid=0)
'';
};
};
}