added nfs client
This commit is contained in:
parent
13b2821dd3
commit
ad813fe996
2 changed files with 11 additions and 1 deletions
|
@ -2,8 +2,9 @@
|
||||||
{
|
{
|
||||||
networking.hostName = hostname;
|
networking.hostName = hostname;
|
||||||
imports = [
|
imports = [
|
||||||
./nix-ld.nix
|
|
||||||
./boot.nix
|
./boot.nix
|
||||||
|
./nfs-client.nix
|
||||||
|
./nix-ld.nix
|
||||||
./printers.nix
|
./printers.nix
|
||||||
./syncthing.nix
|
./syncthing.nix
|
||||||
];
|
];
|
||||||
|
|
9
hosts/desktop/nfs-client.nix
Normal file
9
hosts/desktop/nfs-client.nix
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
{ ... }:
|
||||||
|
{
|
||||||
|
|
||||||
|
fileSystems."/mnt/nfs" = {
|
||||||
|
device = "192.168.178.19:/roms";
|
||||||
|
fsType = "nfs";
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue