Commit e273c1a7 authored by RockWolf's avatar RockWolf
Browse files

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.
parent 47617cf6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
              };
            };
          }