nixos/nm-file-secret-agent: enable trim by default

This is a very sensible default.
Most users use editors that automatically add trailing newlines, and enabling `trim` by default saves them the effort of finding the root cause of invalid password errors themselves.
This commit is contained in:
RockWolf
2026-02-09 21:40:05 +01:00
parent 47617cf6e7
commit e273c1a788
@@ -112,7 +112,7 @@ in
trim = lib.mkOption {
description = "whether leading and trailing whitespace should be stripped from the files content before being passed to NetworkManager";
type = lib.types.nullOr lib.types.bool;
default = null;
default = true;
};
};
}