tree-wide change. seperated config from 'real' modles.
This commit is contained in:
parent
3eee4e105d
commit
a0c1ad0beb
59 changed files with 377 additions and 424 deletions
23
configs/nixos/nfsv2.nix
Normal file
23
configs/nixos/nfsv2.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
# will force you to compile kernel locally.
|
||||
services.nfs = {
|
||||
settings = {
|
||||
nfsd.vers2 = true;
|
||||
};
|
||||
server.enable = true;
|
||||
};
|
||||
boot.kernelPatches = [
|
||||
{
|
||||
name = "nfsv2";
|
||||
patch = null;
|
||||
extraStructuredConfig = {
|
||||
NFSD_V2 = lib.kernel.yes;
|
||||
};
|
||||
}
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue