Move fs.nix to common

This commit is contained in:
2023-04-18 18:31:35 +02:00
committed by Rodrigo Arias Mallo
parent b043ee3b1d
commit 57ed0cf319
3 changed files with 1 additions and 1 deletions

16
common/fs.nix Normal file
View File

@@ -0,0 +1,16 @@
{ ... }:
{
# Mount the home via NFS
fileSystems."/home" = {
device = "10.0.40.30:/home";
fsType = "nfs";
options = [ "nfsvers=3" "rsize=1024" "wsize=1024" "cto" "nofail" ];
};
# Tracing
fileSystems."/sys/kernel/tracing" = {
device = "none";
fsType = "tracefs";
};
}

View File

@@ -3,5 +3,6 @@
{
imports = [
./boot.nix
./fs.nix
];
}