I have decided I am just moving holocron to lumiose, this is the temp files to not break snowbelle

This commit is contained in:
2026-04-30 19:16:43 -05:00
parent 5fd3cfa3cd
commit 9c967dd96a
14 changed files with 996 additions and 0 deletions
@@ -0,0 +1,28 @@
{
pkgs,
config,
lib,
...
}:
# define nfs exports
let
cfg = config.holocron.nfs;
nfs_exports = ''
/holocron/media *(ro,sync,no_subtree_check)
'';
#/holocron/users *(rw,sync,no_subtree_check,no_root_squash)
in {
options.holocron.nfs = {
enable = lib.mkEnableOption "enables nfs";
};
config = lib.mkIf cfg.enable {
# enable nfs with all exports
services.nfs = {
server = {
enable = true;
exports = nfs_exports;
};
};
};
}