mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-13 05:05:29 +03:00
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
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue