VEGAS/nfs: drop
This commit is contained in:
parent
7fda7ca695
commit
4c62d19261
3 changed files with 0 additions and 27 deletions
|
@ -1,12 +0,0 @@
|
|||
{ lib, tools, ... }:
|
||||
{
|
||||
imports = [ ./exports.nix ];
|
||||
services.nfs = {
|
||||
server = {
|
||||
enable = true;
|
||||
};
|
||||
idmapd.settings = {
|
||||
General.Domain = lib.mkForce tools.meta.domain;
|
||||
};
|
||||
};
|
||||
}
|
|
@ -1,14 +0,0 @@
|
|||
let
|
||||
entry = { directory, network, security ? "krb5i", writable ? true, options ? [] }:
|
||||
let
|
||||
mode = if writable then "rw" else "ro";
|
||||
optionsFinal = [ mode "sec=${security}" ] ++ options;
|
||||
concat = builtins.concatStringsSep "," optionsFinal;
|
||||
in "${directory} ${network}(${concat})";
|
||||
|
||||
exports = map entry [
|
||||
{ directory = "/srv/storage/www/soda"; network = "10.10.2.0/24"; options = [ "no_root_squash" ]; }
|
||||
];
|
||||
in {
|
||||
services.nfs.server.exports = builtins.concatStringsSep "\n" exports;
|
||||
}
|
|
@ -23,7 +23,6 @@
|
|||
./services/gitlab
|
||||
./services/jokes
|
||||
./services/nextcloud
|
||||
./services/nfs
|
||||
./services/mail
|
||||
./services/matrix
|
||||
./services/minecraft
|
||||
|
|
Loading…
Reference in a new issue