nixos-generate-config: don't emit tmpfs entry for /tmp
Because it most likely comes from the boot.tmpOnTmpfs option in configuration.nix (managed declaratively).
This commit is contained in:
parent
66add9f141
commit
8f551be935
@ -441,6 +441,10 @@ EOF
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Don't emit tmpfs entry for /tmp, because it most likely comes from the
|
||||||
|
# boot.tmpOnTmpfs option in configuration.nix (managed declaratively).
|
||||||
|
next if ($mountPoint eq "/tmp" && $fsType eq "tmpfs");
|
||||||
|
|
||||||
# Emit the filesystem.
|
# Emit the filesystem.
|
||||||
$fileSystems .= <<EOF;
|
$fileSystems .= <<EOF;
|
||||||
fileSystems.\"$mountPoint\" =
|
fileSystems.\"$mountPoint\" =
|
||||||
|
Loading…
Reference in New Issue
Block a user