Merge pull request #128624 from vs49688/exfat
This commit is contained in:
@@ -863,6 +863,15 @@ Superuser created successfully.
|
||||
release instead of 1.0.x
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
If <literal>exfat</literal> is included in
|
||||
<literal>boot.supportedFilesystems</literal> and when using
|
||||
kernel 5.7 or later, the <literal>exfatprogs</literal>
|
||||
user-space utilities are used instead of
|
||||
<literal>exfat</literal>.
|
||||
</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</section>
|
||||
<section xml:id="sec-release-21.11-notable-changes">
|
||||
|
||||
@@ -250,6 +250,9 @@ To be able to access the web UI this port needs to be opened in the firewall.
|
||||
|
||||
- The `nomad` package now defaults to a 1.1.x release instead of 1.0.x
|
||||
|
||||
- If `exfat` is included in `boot.supportedFilesystems` and when using kernel 5.7
|
||||
or later, the `exfatprogs` user-space utilities are used instead of `exfat`.
|
||||
|
||||
## Other Notable Changes {#sec-release-21.11-notable-changes}
|
||||
|
||||
- The setting [`services.openssh.logLevel`](options.html#opt-services.openssh.logLevel) `"VERBOSE"` `"INFO"`. This brings NixOS in line with upstream and other Linux distributions, and reduces log spam on servers due to bruteforcing botnets.
|
||||
|
||||
@@ -4,8 +4,10 @@ with lib;
|
||||
|
||||
{
|
||||
config = mkIf (any (fs: fs == "exfat") config.boot.supportedFilesystems) {
|
||||
|
||||
system.fsPackages = [ pkgs.exfat ];
|
||||
|
||||
system.fsPackages = if config.boot.kernelPackages.kernelOlder "5.7" then [
|
||||
pkgs.exfat # FUSE
|
||||
] else [
|
||||
pkgs.exfatprogs # non-FUSE
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user