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:
@@ -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;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user